Definition at line 154 of file Shader.cs.
| Shift.Graphics.GL.Shader.Shader |
( |
ShaderType |
type, |
|
|
string |
source |
|
) |
| |
|
inline |
Compiles a shader, which can be either vertex, fragment or geometry.
- Parameters
-
| source | Specifies the source code of the shader object. |
| type | Specifies the type of shader to create (either vertex, fragment or geometry). |
Definition at line 187 of file Shader.cs.
| void Shift.Graphics.GL.Shader.Dispose |
( |
| ) |
|
|
inline |
| uint Shift.Graphics.GL.Shader.ShaderID |
|
getset |
Specifies the OpenGL ShaderID.
Definition at line 159 of file Shader.cs.
| string Shift.Graphics.GL.Shader.ShaderLog |
|
get |
Returns Gl.GetShaderInfoLog(ShaderID), which contains any compilation errors.
Definition at line 175 of file Shader.cs.
Contains all of the attributes and uniforms parsed from this shader source.
Definition at line 169 of file Shader.cs.
Specifies the type of shader.
Definition at line 164 of file Shader.cs.
The documentation for this class was generated from the following file: