Records the bind and draw commands of a single render pass.
Obtain one via GpuFrame.beginRenderPass and submit it with submit.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bindIndexBuffer(
GpuBufferView view, GpuIndexType indexType, int indexCount) → void -
Binds
viewas the index buffer ofindexType;indexCountindices will be drawn. -
bindPipeline(
GpuPipeline pipeline, CullMode cullMode) → void -
Binds the render
pipelineand appliescullMode. -
bindTexture(
GpuUniformSlot slot, GpuTexture texture) → void -
Binds
textureto the samplerslot. -
bindUniform(
GpuUniformSlot slot, ByteData data) → void -
Binds transient uniform
datatoslot. -
bindVertexBuffer(
GpuBufferView view, int vertexCount) → void -
Binds
viewas the vertex buffer,vertexCountvertices will be drawn. -
clearBindings(
) → void - Clears all resources bound to this pass.
-
draw(
) → void - Issues a draw call for the currently bound geometry.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
submit(
) → void - Finalizes the pass and submits its commands to the GPU.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited