GraphiteContext

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val isClosed: Boolean
Link copied to clipboard

Functions

Link copied to clipboard
open fun close()
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun insertRecording(recording: Recording)

Adds a recording to this context's pending GPU work.

Link copied to clipboard

Creates a Recorder that records drawing commands for this context.

Link copied to clipboard
fun submit(syncCpu: Boolean = false)

Submits pending work to the GPU.

Link copied to clipboard
open override fun toString(): String