CommandEncoder
Records passes and copies for GpuDevice.submit. Only one pass can be open at a time.
Methods
function beginComputePass():ComputePassfunction beginRenderPass(target:Texture, ?clear:Null<Color>):RenderPassBegins a render pass into target. The pass first clears target to clear, which defaults to transparent black.