CommandEncoder
A GPUCommandEncoder, recording until Device.submit.
Static methods
function hxnAdopt(hxnRaw:Handle):CommandEncoderAn object for a value the library returned.
Properties
var hxnRaw:HandleMethods
function beginComputePass():ComputePassA compute pass, recording until its end.
function beginRenderPass(target:Texture, r:Float, g:Float, b:Float, a:Float):RenderPassA render pass into target, cleared first to the color r, g, b, a.
function copyBufferToBuffer(source:Buffer, sourceOffset:Int64, destination:Buffer, destinationOffset:Int64, size:Int64):VoidCopies size bytes from source at source_offset to destination at destination_offset.
function copyTextureToBuffer(texture:Texture, buffer:Buffer, bytesPerRow:Int):VoidCopies all of texture into buffer, rows bytes_per_row apart, a multiple of 256.
function close():VoidReleases the native value now. The collector does it otherwise. Using this object afterwards throws.