- Attach
void Attach()
Attach attaches the shader.
- Detach
void Detach()
Detatch detatches the shader. (Binds shader 0)
- GetUniform
int GetUniform(string name)
GetUniform gets the position of a uniform.
- HasUniform
bool HasUniform(string name)
HasUniform checks whenever the shader contains a unform with name "name"
Returns true if it exists, false otherwise.
- SetUniform
void SetUniform(int location, float value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Vector2 value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Vector3 value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Vector4 value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Vector2i value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Vector3i value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Vector4i value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Matrix2x2 value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Matrix3x3 value)
Undocumented in source. Be warned that the author may not have intended to support it.
- SetUniform
void SetUniform(int location, Matrix4x4 value)
Undocumented in source. Be warned that the author may not have intended to support it.
- Attached
bool Attached [@property getter]
Undocumented in source.
- Attach
void Attach()
Undocumented in source.
- Detach
void Detach()
Undocumented in source.
- SetUniform
void SetUniform(int location, float value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Vector2 value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Vector3 value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Vector4 value)
Undocumented in source.
- SetUniform
void SetUniform(int location, int value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Vector2i value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Vector3i value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Vector4i value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Matrix2x2 value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Matrix3x3 value)
Undocumented in source.
- SetUniform
void SetUniform(int location, Matrix4x4 value)
Undocumented in source.
- GetUniform
int GetUniform(string name)
Undocumented in source.
- HasUniform
bool HasUniform(string name)
Undocumented in source.