Companion

object Companion

Functions

Link copied to clipboard
fun makeMetal(width: Int, height: Int, texturePtr: NativePointer): BackendTexture

Creates a Graphite backend texture that wraps a Metal texture.

Link copied to clipboard
fun makeVulkan(width: Int, height: Int, textureInfo: VulkanTextureInfo, imageLayout: Int, queueFamilyIndex: Int, imagePtr: NativePointer): BackendTexture

Creates a Graphite backend texture that wraps an existing VkImage.