Shader class
Methods
-
bind(GraphicsDevice device)
→ void
-
-
compile()
→ ShaderResource
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
parseKey(String key)
→ List<String?>
-
-
setColor(String key, Color color)
→ void
-
-
setFloat(String key, double value)
→ void
-
Set a double at the given
key
on the buffer.
-
setMatrix2(String key, Matrix2 matrix)
→ void
-
Set a Matrix2 at the given
key
on the buffer.
-
setMatrix3(String key, Matrix3 matrix)
→ void
-
Set a Matrix3 at the given
key
on the buffer.
-
setMatrix4(String key, Matrix4 matrix)
→ void
-
Set a Matrix4 at the given
key
on the buffer.
-
setTexture(String key, Texture texture)
→ void
-
Set a Texture at the given
key
on the buffer.
-
setUint(String key, int value)
→ void
-
Set an int (encoded as uint) at the given
key
on the buffer.
-
setVector2(String key, Vector2 vector)
→ void
-
Set a Vector2 at the given
key
on the buffer.
-
setVector3(String key, Vector3 vector)
→ void
-
Set a Vector3 at the given
key
on the buffer.
-
setVector4(String key, Vector4 vector)
→ void
-
Set a Vector4 at the given
key
on the buffer.
-
toString()
→ String
-
A string representation of this object.
inherited