Class Effect
Provides an abstract base class for common functionality used in render effects specifying a vertex, geometry or fragment shader.
public abstract class Effect : Shader, IDisposable
- Inheritance
-
Effect
- Implements
- Derived
- Inherited Members
Methods
CreateShader()
Compiles the effect shader and returns the program object handle.
protected override int CreateShader()
Returns
- int
A handle to the shader program object.