TraceBindTexture class final
PassEncoder.bindTexture: a texture and sampler bound to a stage's slot.
- Inheritance
-
- Object
- TraceEvent
- TracePassEvent
- TraceBindTexture
Constructors
- TraceBindTexture({required int pass, required String shader, required String slot, required int texture, SamplerDescriptor? sampler})
-
Records texture id
texturebound toslotof stageshaderwithsamplerin passpass.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
beginRenderPasswas 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
kindkey, with every byte payload handed tobloband 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