Click or drag to resize
ShaderProgram Methods

The ShaderProgram type exposes the following members.

Methods
  NameDescription
Public methodDispose
Releases resources associated with this ShaderProgram, including the internally referenced OpenGL program.
Public methodStatic memberDisposeShaderPrograms
Clean up all the pre-implemented shaders from memory.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetAttributeLocation
Uses the OpenGL glGetAttributeLocation function to determine how a particular attribute of a vertex can be located.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUniformLocation
Uses the OpenGL glGetUniformLocation function to determine how a uniform object declared in the code can be located.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUse
Make this shader program the currently active shader program, and apply the specified projection matrix.
Top
See Also