Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
bindIndexBuffer (BufferView bufferView , IndexType indexType )
→ void
Binds bufferView as the index buffer.
bindPipeline (RenderPipeline pipeline )
→ void
bindSet (BindingSet bindingSet , {int slot = 0 })
→ void
Binds every resource in bindingSet for subsequent draws, replacing
whatever set was bound to slot.
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
Constants
maxBindingSets
→ const int
The number of binding set slots that can be bound to a single draw.
Matches flutter::gpu::RenderPass::kMaxBindingSets on the native side;
keep them in sync. See bindSet .