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(BufferView bufferView, IndexType indexType)
→ void
-
Binds
bufferView as the index buffer.
-
bindPipeline(RenderPipeline pipeline)
→ void
-
-
bindTexture(UniformSlot slot, Texture texture, {SamplerOptions? sampler})
→ void
-
-
bindUniform(UniformSlot slot, BufferView bufferView)
→ void
-
-
bindVertexBuffer(BufferView bufferView, {int slot = 0})
→ void
-
Binds
bufferView as the vertex buffer at the given slot.
-
clearBindings()
→ void
-
-
draw(int vertexCount, {int instanceCount = 1})
→ void
-
Appends a non-indexed draw of
vertexCount vertices.
-
drawIndexed(int indexCount, {int instanceCount = 1})
→ void
-
Appends an indexed draw of
indexCount indices.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setColorBlendEnable(bool enable, {int colorAttachmentIndex = 0})
→ void
-
-
setColorBlendEquation(ColorBlendEquation equation, {int colorAttachmentIndex = 0})
→ void
-
-
setCullMode(CullMode cullMode)
→ void
-
-
setDepthCompareOperation(CompareFunction compareFunction)
→ void
-
-
setDepthWriteEnable(bool enable)
→ void
-
-
setPolygonMode(PolygonMode polygonMode)
→ void
-
-
setPrimitiveType(PrimitiveType primitiveType)
→ void
-
-
setScissor(Scissor scissor)
→ void
-
-
setStencilConfig(StencilConfig configuration, {StencilFace targetFace = StencilFace.both})
→ void
-
-
setStencilReference(int referenceValue)
→ void
-
-
setViewport(Viewport viewport)
→ void
-
-
setWindingOrder(WindingOrder windingOrder)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited