ShaderProgram Methods |
The ShaderProgram type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
Releases resources associated with this ShaderProgram, including the internally referenced OpenGL program.
|
![]() ![]() | DisposeShaderPrograms |
Clean up all the pre-implemented shaders from memory.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetAttributeLocation |
Uses the OpenGL glGetAttributeLocation function to determine how a particular attribute of a vertex can be located.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUniformLocation |
Uses the OpenGL glGetUniformLocation function to determine how a uniform object declared in the code can be located.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Use |
Make this shader program the currently active shader program, and apply the specified projection matrix.
|