An in-progress recording of a compute pass.
Methods
dispatch(x:Int, y:Int, z:Int):Void
Dispatches compute work operations.
Parameters:
x | The number of work group to dispatch in the x dimension. |
---|---|
y | The number of work group to dispatch in the y dimension. |
z | The number of work group to dispatch in the z dimension. |
dispatchIndirect(indirectBuffer:Buffer, indirectOffset:Int):Void
Indirectly dispatches compute work operations.
Parameters:
indirectBuffer | The disaptch is based on the contents of this buffer. |
---|---|
indirectOffset | The offset at which to start reading from |
setBindGroup(index:Int, bindGroup:BindGroup, offsets:Array<Int>):Void
Sets the active bind group for a given bind group index.
Throws:
UseAfterDestroyException | If |
---|
setPipeline(pipeline:ComputePipeline):Void
Sets the active compute pipeline.
Parameters:
pipeline | The compute pipeline to set active. |
---|