Click or drag to resize

ShaderProgram Class

Instances of this class represent a pair of a Vertex and a Pixel shader code, both compiled an uploaded to the gpu ready to be used.
Inheritance Hierarchy

Namespace:  Fusee.Engine.Core
Assembly:  Fusee.Engine.Core (in Fusee.Engine.Core.dll) Version: (
public class ShaderProgram

The ShaderProgram type exposes the following members.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetShaderParam
Retrieves an identifier for the shader parameter name.
Public methodGetShaderParamInfo
Gets the shader parameter.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See CreateShader(String, String) how to create instances and SetShader(ShaderProgram) how to use instances as the current shaders.
See Also