TraceBindTexture class final

PassEncoder.bindTexture: a texture and sampler bound to a stage's slot.

Inheritance

Constructors

TraceBindTexture({required int pass, required String shader, required String slot, required int texture, SamplerDescriptor? sampler})
Records texture id texture bound to slot of stage shader with sampler in pass pass.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String
The event's name in a trace file.
no setteroverride
pass → int
The pass the event belongs to, by the number its beginRenderPass was recorded under.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampler → SamplerDescriptor?
How the texture is sampled; null means SamplerDescriptor.linearRepeat.
final
shader → String
The stage's name in the loaded libraries.
final
slot → String
The sampled-texture binding's name as the stage declares it.
final
texture → int
The texture's id, among textures.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(TraceBlobWriter blob) → Map<String, Object?>
Returns the event as the JSON object a trace file holds, without its kind key, with every byte payload handed to blob and written as the reference it returns.
override
toString() → String
A string representation of this object.
inherited

Operators

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