Shader Class |
Namespace: Ooogles
The Shader type exposes the following members.
| Name | Description | |
|---|---|---|
| Shader(ShaderType) |
Creates a shader object.
| |
| Shader(ShaderType, String) |
Creates a shader object.
|
| Name | Description | |
|---|---|---|
| CompileStatus |
Get the compile status.
| |
| DeleteStatus |
Get the delete status.
| |
| Handle |
Internal OpenGL handle to the object
(Inherited from GLObject.) | |
| MaxVaryingVectors |
Get the maximum number four-element floating-point vectors available for interpolating varying variables used by vertex and fragment shaders.
| |
| MaxVertexAttribs |
Get the maximum number of 4-component generic vertex attributes accessible to a vertex shader.
| |
| ShaderType |
Gets the type of the shader.
| |
| Source |
Get, set or replace the source code in a shader object.
|
| Name | Description | |
|---|---|---|
| Compile |
Compiles the shader;
| |
| Dispose |
Disposes of the OpenGL object
(Inherited from GLObject.) | |
| Equals |
Checks if this object matches another object.
(Inherited from GLObject.) | |
| GetHashCode |
Returns a hash code for this object
(Inherited from GLObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ReleaseCompiler |
Release resources allocated by the shader compiler.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |