M3Program class
A WebGL shader program wrapper for GLSL vertex and fragment shaders.
Manages uniform locations, vertex attributes, and matrix transformations.
- Implementers
Constructors
Properties
- attribBoneIndex ↔ UniformLocation
-
getter/setter pair
- attribBoneWeight ↔ UniformLocation
-
getter/setter pair
- attribColor ↔ UniformLocation
-
getter/setter pair
- attribNormal ↔ UniformLocation
-
getter/setter pair
- attribUV ↔ UniformLocation
-
getter/setter pair
- attribVertex ↔ UniformLocation
-
getter/setter pair
- gl → RenderingContext
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- program ↔ Program
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uniformBoneCount ↔ UniformLocation
-
getter/setter pair
- uniformBoneMatrixArray ↔ UniformLocation
-
getter/setter pair
- uniformBoneMatrixArrayIT ↔ UniformLocation
-
getter/setter pair
- uniformCameraViewport ↔ UniformLocation
-
getter/setter pair
- uniformColor ↔ UniformLocation
-
getter/setter pair
- uniformModel ↔ UniformLocation
-
getter/setter pair
- uniformMVP ↔ UniformLocation
-
getter/setter pair
- uniformProjection ↔ UniformLocation
-
getter/setter pair
- uniformSamplerDiffuse ↔ UniformLocation
-
getter/setter pair
- uniformTexMatrix ↔ UniformLocation
-
getter/setter pair
Methods
-
applyCamera(
M3Camera cam) → void -
disableAttribute(
) → void -
dispose(
) → void -
initLocation(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setMaterial(
M3Material mtr, Vector4 color) → void -
setMatrices(
M3Camera cam, Matrix4 mMatrix) → void -
setModelMatrix(
Matrix4 mat) → void -
setMVPMatrix(
Matrix4 mat) → void -
setProjectionMatrix(
Matrix4 mat) → void -
setSkinning(
M3Skin? skin) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited