Package-level declarations

Types

Link copied to clipboard

Represents a backend-specific semaphore that Graphite can use for synchronization.

Link copied to clipboard

Represents a backend-specific texture that can be used by Graphite.

Link copied to clipboard

The main entry point for Graphite, responsible for managing and coordinating GPU resources.

Link copied to clipboard
class InsertRecordingInfo(val recording: Recording, val waitSemaphores: Array<BackendSemaphore> = emptyArray(), val signalSemaphores: Array<BackendSemaphore> = emptyArray())

Information passed when inserting a Recording into a GraphiteContext.

Link copied to clipboard

Provides the interface for recording drawing commands and snapping them into a Recording.

Link copied to clipboard

An immutable collection of drawing commands snapped from a Recorder for GPU submission.

Link copied to clipboard

Wrapper for Vulkan image format values (VkFormat).

Link copied to clipboard

Wrapper for Vulkan image aspect flags (VkImageAspectFlags / VkImageAspectFlagBits).

Link copied to clipboard

Wrapper for Vulkan image creation flag bitmask (VkImageCreateFlags / VkImageCreateFlagBits).

Link copied to clipboard

Wrapper for Vulkan image tiling layout modes (VkImageTiling).

Link copied to clipboard

Wrapper for Vulkan image usage bitmask flags (VkImageUsageFlags / VkImageUsageFlagBits).

Link copied to clipboard

Wrapper for Vulkan buffer/image sharing modes (VkSharingMode).

Link copied to clipboard
class VulkanTextureInfo(val sampleCount: Int = 1, val mipmapped: Boolean = false, val flags: VulkanImageCreateFlags = VulkanImageCreateFlags.NONE, val format: VulkanFormat, val imageTiling: VulkanImageTiling = VulkanImageTiling.OPTIMAL, val imageUsageFlags: VulkanImageUsageFlags, val sharingMode: VulkanSharingMode = VulkanSharingMode.EXCLUSIVE, val aspectMask: VulkanImageAspectFlags = VulkanImageAspectFlags.COLOR)

Descriptor containing Vulkan-specific image information for Graphite backend textures.

Functions

Link copied to clipboard
fun Surface.Companion.wrapBackendTexture(recorder: Recorder, backendTexture: BackendTexture, colorSpace: ColorSpace?, surfaceProps: SurfaceProps? = null): Surface?

Creates a Graphite surface that renders into a backendTexture using recorder.