Skip to main content

ZWebGPUQueue

actualpackageZWebGPUQueue
7 items
constructorZWebGPUQueue
constructor(queue: GPUQueue)
val queue: GPUQueue
The underlying native GPUQueue object
fun copyExternalImageToTexture(source: GPUImageCopyExternalImage, destination: GPUImageCopyTexture, copySize: GPUExtent3D)
fun getRawQueue(): GPUQueue
Copies the underlying native GPUQueue object.
fun submit(commandBuffers: Array<GPUCommandBuffer>)
Submits the given command encoders to the GPU queue for execution.
inline fun <R> withQueue(block: (GPUQueue) -> R): R
Provides direct access to the underlying queue for advanced operations.
fun writeBuffer(buffer: GPUBuffer, offset: Int, dataArray: Any)
Writes buffer data to the GPU.