ShaderUniformFieldInfo class final Debugging and profiling

One member of a uniform block, with its std140 placement.

Constructors

ShaderUniformFieldInfo({required String name, required ShaderScalarType type, required int offsetBytes, required int elementSizeBytes, required int totalSizeBytes, required int arrayElements, required int vecSize, required int columns})
const

Properties

arrayElements → int
Array length, or 0 for a non-array member.
final
columns → int
final
elementSizeBytes → int
Bytes one element occupies, padding included (a mat3 is 48).
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
offsetBytes → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalSizeBytes → int
Bytes the whole member occupies, all array elements included.
final
type → ShaderScalarType
final
typeName → String
The GLSL-style type name (vec3, mat4, float[4]).
no setter
vecSize → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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