FakePass class final
A pass that was opened, and everything that went into it.
- Implemented types
- Available extensions
Constructors
- FakePass(RenderPassDescriptor descriptor)
Properties
- color → ColorTarget
-
no setter
-
commands
→ List<
Recorded> -
Everything recorded, in order.
final
- cullMode ↔ CullMode?
-
getter/setter pair
- depthCompare ↔ CompareFunction?
-
getter/setter pair
- depthWrite ↔ bool?
-
getter/setter pair
- descriptor → RenderPassDescriptor
-
final
- drawCount → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- polygonMode ↔ PolygonMode?
-
getter/setter pair
- primitiveType ↔ PrimitiveType?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- submitted ↔ bool
-
getter/setter pair
- windingOrder ↔ WindingOrder?
-
getter/setter pair
Methods
-
bindIndexBuffer(
GeometryBuffer buffer, IndexType type, int indexCount) → void -
override
-
bindIndexData(
ByteData bytes, IndexType type, int indexCount) → void -
Binds indices built this frame. See bindVertexData.
override
-
bindPipeline(
PipelineHandle pipeline) → void -
Binds the pair of stages the following draws run.
override
-
bindTexture(
ShaderHandle shader, String slot, TextureHandle texture, {SamplerOptions? sampler}) → void -
Binds
textureto the sampler calledslotinshader.override -
bindUniformBlock(
ShaderHandle shader, String blockName, Map< String, Float32List> members) → bool -
Fills the uniform block
blockNameofshaderfrommembersand binds it. False when the shader has no such block.override -
bindVertexBuffer(
GeometryBuffer buffer, int vertexCount, {int slot = 0}) → void -
Binds geometry the device already holds — a mesh, or the one triangle
every full-screen pass draws.
override
-
bindVertexData(
ByteData bytes, int vertexCount, {int slot = 0}) → void -
Binds vertices built this frame.
override
-
clearBindings(
) → void -
Forgets every binding, leaving rasteriser state alone.
override
-
draw(
{int instanceCount = 1}) → void -
Draws what is bound. Always indexed — there is no non-indexed path in this
engine, which is why the debug overlay keeps an identity index sequence.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordedOf<
T extends Recorded> () → Iterable< T> -
setBlend(
BlendState? state, {int attachment = 0}) → void -
Blending for one colour attachment; null switches it off.
override
-
setCullMode(
CullMode mode) → void -
override
-
setDepthCompare(
CompareFunction compare) → void -
override
-
setDepthWrite(
bool enabled) → void -
override
-
setPolygonMode(
PolygonMode mode) → void -
override
-
setPrimitiveType(
PrimitiveType type) → void -
override
-
setScissor(
ScreenRect rect) → void -
Where fragments survive. Bounds a draw, and — unlike a clear — is honoured
by one.
override
-
setState(
PassState state) → void -
Available on PassEncoder, provided by the PassStateApply extension
Emits one call per fieldstatesets, and nothing for the rest. -
setViewport(
ScreenRect rect) → void -
Where the rasteriser may write.
override
-
setWindingOrder(
WindingOrder order) → void -
override
-
submit(
) → void -
Ends the pass and hands it to the queue.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited