ShaderBuffer class
Class that buffers all the float uniforms that have to be uploaded to a shader.
Constructors
- ShaderBuffer(String slot)
- Class that buffers all the float uniforms that have to be uploaded to a shader.
Properties
- bytes → ByteBuffer
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slot → String
-
final
Methods
-
addMatrix4(
Matrix4 matrix) → void - Add a Matrix4 to the buffer.
-
addVector2(
Vector2 vector) → void - Add a Vector2 to the buffer.
-
addVector3(
Vector3 vector) → void - Add a Vector3 to the buffer.
-
addVector4(
Vector4 vector) → void - Add a Vector4 to the buffer.
-
clear(
) → void - Clear the buffer.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited