GPURenderBundle
class GPURenderBundle : AutoCloseable
A pre-recorded sequence of rendering commands.
Summary
Public functions |
|
|---|---|
open external Unit |
close()Decrements the reference count of the object and frees resources when the count reaches zero. |
open operator Boolean |
|
open Int |
hashCode() |
external Unit |
@FastNativeSets a human-readable label for debugging. |
Public functions
close
Added in 1.0.0-alpha05
open external fun close(): Unit
Decrements the reference count of the object and frees resources when the count reaches zero.
This is the standard way to manage object lifetimes and should be used in use blocks. After calling this, the object is no longer usable.
setLabel
Added in 1.0.0-alpha05
@FastNative
external fun setLabel(label: String): Unit
Sets a human-readable label for debugging.
| Parameters | |
|---|---|
label: String |
The label string. |