ShaderHandle class final

Constructors

ShaderHandle({required Object backend, required String name, StageBindings? kept, Map<String, Map<String, UniformMemberLayout>>? layouts})
const

Properties

backend → Object
The backend's own object for this stage.
final
hashCode → int
The hash code for this object.
no setterinherited
kept → StageBindings?
What the compiled stage kept, or null where the library cannot say — gfx-92n.
final
layouts → Map<String, Map<String, UniformMemberLayout>>?
How the compiler laid out each of this stage's uniform blocks, or null where the library cannot say — H1. From the bundle's own table (uniformBlocks in flutter3d_shaders), for the backends that do not reflect a block's members themselves, so a member the caller named and the block does not have is refused by name everywhere.
final
name → String
The entry point this stage was found under, as the bundle spells it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

mayBindBlock(String block) → bool
Whether block may be bound: false when kept says it was dropped, true otherwise.
mayBindSampler(String sampler) → bool
Whether sampler may be bound, as mayBindBlock.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited