| ShaderProgram Class | 
Namespace: (Default Namespace)
public sealed class ShaderProgram : IDisposable
The ShaderProgram type exposes the following members.
| Name | Description | |
|---|---|---|
| ShaderProgram | 
            Create a shader program that includes all the shaders (vertex and fragment shaders) necessary when rendering.
              | 
| 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.
              | 
| Name | Description | |
|---|---|---|
| FlatShader | 
            This shader is used for drawing textured graphics that have no normal map associated.
              | |
| NoLightShader | 
            This shader is used for drawing textured graphics when lighting is disabled.
              | |
| NormalMappedShader | 
            This shader is used for drawing textured graphics that have a normal map associated.
              | |
| SolidShader | 
            This shader is used for drawing solid non-textured graphics such as lines and solid rectangles.
              |