Shader Class |
Namespace: (Default Namespace)
public sealed class Shader : IDisposable
The Shader type exposes the following members.
Name | Description | |
---|---|---|
![]() | Shader |
Compile and return a shader object of the specified type using the specified shader code.
|
Name | Description | |
---|---|---|
![]() ![]() | CreateShader |
Compile and return a shader object using the provided ShaderShaderCode object.
|
![]() | Dispose |
Release the resources associated with this shader, including the OpenGL shader identified by Handle.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Handle |
Return the internal handle that uniquely identifies this shader to OpenGL.
|