hxn

RenderPass

A GPURenderPassEncoder.

Static methods

function hxnAdopt(hxnRaw:Handle):RenderPass

An object for a value the library returned.

Properties

var hxnRaw:Handle

Methods

function setPipeline(pipeline:RenderPipeline):Void
function setBindGroup(index:Int, group:BindGroup):Void
function setVertexBuffer(slot:Int, buffer:Buffer):Void

Reads vertices for slot from all of buffer.

function draw(vertices:Int, instances:Int, firstVertex:Int, firstInstance:Int):Void
function end():Void

Ends the pass; the encoder records again after it.

function close():Void

Releases the native value now. The collector does it otherwise. Using this object afterwards throws.