Session

class Session(val parent: Session?)

Session

Constructors

Link copied to clipboard
fun Session(parent: Session?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun end()

Ends the session, destroys any GPU resources in use by the session

Link copied to clipboard
fun fork(): Session

Fork the session

Link copied to clipboard
fun track(arrayCubemap: ArrayCubemap): Boolean
fun track(arrayTexture: ArrayTexture): Boolean
fun track(atomicCounterBuffer: AtomicCounterBuffer): Boolean
fun track(bufferTexture: BufferTexture): Boolean
fun track(colorBuffer: ColorBuffer): Boolean
fun track(computeShader: ComputeShader): Boolean
fun track(cubemap: Cubemap): Boolean
fun track(depthBuffer: DepthBuffer): Boolean
fun track(indexBuffer: IndexBuffer): Boolean
fun track(renderTarget: RenderTarget): Boolean
fun track(shader: Shader): Boolean
fun track(shaderStorageBuffer: ShaderStorageBuffer): Boolean
fun track(vertexBuffer: VertexBuffer): Boolean
fun track(volumeTexture: VolumeTexture): Boolean
Link copied to clipboard
fun untrack(arrayCubemap: ArrayCubemap): Boolean
fun untrack(arrayTexture: ArrayTexture): Boolean
fun untrack(atomicCounterBuffer: AtomicCounterBuffer): Boolean
fun untrack(bufferTexture: BufferTexture): Boolean
fun untrack(colorBuffer: ColorBuffer): Boolean
fun untrack(computeShader: ComputeShader): Boolean
fun untrack(cubemap: Cubemap): Boolean
fun untrack(depthBuffer: DepthBuffer): Boolean
fun untrack(indexBuffer: IndexBuffer): Boolean
fun untrack(renderTarget: RenderTarget): Boolean
fun untrack(shader: Shader): Boolean
fun untrack(shaderStorageBuffer: ShaderStorageBuffer): Boolean
fun untrack(vertexBuffer: VertexBuffer): Boolean
fun untrack(volumeTexture: VolumeTexture): Boolean

Properties

Link copied to clipboard
val context: Long
Link copied to clipboard
val parent: Session?
Link copied to clipboard
val statistics: SessionStatistics

Session statistics

Sources

Link copied to clipboard