UniformMat2Slot class base
A binding to a uniform of type mat2. Calling set on this object updates the uniform's value.
Example:
void updateShader(ui.FragmentShader shader) {
shader.getUniformMat2('uIdentity').set(
1.0, 0.0,
0.0, 1.0
);
}
See also: FragmentShader.getUniformMat2 - How UniformMat2Slot instances are acquired.
- Inheritance
-
- Object
- UniformType
- UniformMat2Slot
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
double m00, double m01, double m10, double m11) → void - Set the float value of the matrix in row-major order.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited