GLShader Class

Base shader class.
Public MustInherit Class GLShader 
Implements IShader
This language is not supported or no code example is available.
public abstract class GLShader : IShader
This language is not supported or no code example is available.
Name Description
Protected constructor GLShader(string, string) Constructor with shader source code.
Public constructor GLShader() Standard constructor.
Top
Name Description
Public property Enabled Gets the shader's enabled status.
Public property IsCompiled Returns true if the shader program was successfully compiled.
Public property UpdatedInFrame
Top
Methods
 
Name Description
Public method Compile(RenderContextBase) Compiles the shader.
Protected method ComposeStrings(realisticShadowQualityType, BackgroundSettings, LightSettings[]) Method used internally to compose the shader code.
Public method Create(realisticShadowQualityType, BackgroundSettings, LightSettings[])
Public method Disable(RenderContextBase) Disables the shader.
Public method DisableColorModulation(EntityGraphicsData)
Public method Dispose()
Public method Enable(RenderContextBase) Enables the shader.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method Static GetAttribLocation(UInt32, string) Gets the location of an attribute shader variable.
Public method GetAttribLocation(string) Gets the location of an attribute shader variable.
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method Static GetUniformLocation(UInt32, string) Gets the location of a uniform shader variable.
Public method GetUniformLocation(string) Gets the location of a uniform shader variable.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method SetBlockRefTransform(float[])
Public method SetColorModulationAttribute(EntityGraphicsData)
Public method SetEnvironmentIntensity(float)
Public method SetParameters(object) Sets the shader parameters.
Public method SetParametersForShadow(object)
Public method SetTextureOverExposure(bool)
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Validate()
Top
devDept.Graphics.GLShader

.NET Framework

Supported in: 4.8

In this article

Definition