The ShaderProgram type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Dispose |
disposes the program and all associated shaders.
(Overrides GLObject..::..Dispose()()()().) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetUniform(String, Matrix4%) |
Sets the value of a shader variable. Enables this program as a side effect.
| |
| SetUniform(String, Vector2%) |
Sets the value of a shader variable. Enables this program as a side effect.
| |
| SetUniform(String, Vector3%) |
Sets the value of a shader variable. Enables this program as a side effect.
| |
| SetUniform(String, Vector4%) |
Sets the value of a shader variable. Enables this program as a side effect.
| |
| SetUniform(String, Boolean) |
Sets the value of a shader variable. Enables this program as a side effect.
| |
| SetUniform(String, Int32) |
Sets the value of a shader variable. Enables this program as a side effect.
| |
| SetUniform(String, Single) |
Sets the value of a shader variable. Enables this program as a side effect.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Use |
Enables the program.
|