Click or drag to resize

ShaderCodeBuilder Class

Compiler for ShaderCode. Takes a MaterialComponent, evaluates input parameters and creates pixel and vertexshader
Inheritance Hierarchy
SystemObject
  Fusee.Engine.CoreShaderCodeBuilder

Namespace:  Fusee.Engine.Core
Assembly:  Fusee.Engine.Core (in Fusee.Engine.Core.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class ShaderCodeBuilder

The ShaderCodeBuilder type exposes the following members.

Constructors
  NameDescription
Public methodShaderCodeBuilder(MaterialComponent, Mesh, WeightComponent, Boolean)
LEGACY CONSTRUCTOR Creates vertex and pixel shader for given material, mesh, weight; light calculation is simple per default
Public methodShaderCodeBuilder(MaterialComponent, Mesh, LightingCalculationMethod, WeightComponent, Boolean)
Creates vertex and pixel shader for given material, mesh, weight; light calculation is simple per default
Top
Properties
  NameDescription
Public propertyStatic memberBumpIntensityName
The var name for the uniform BumpIntensity variable within the pixelshaders
Public propertyStatic memberBumpTextureName
The var name for the uniform BumpTexture variable within the pixelshaders
Public propertyStatic memberDiffuseColorName
The var name for the uniform DiffuseColor variable within the pixelshaders
Public propertyStatic memberDiffuseMixName
The var name for the uniform DiffuseMix variable within the pixelshaders
Public propertyStatic memberDiffuseTextureName
The var name for the uniform DiffuseTexture variable within the pixelshaders
Public propertyStatic memberEmissiveColorName
The var name for the uniform EmissiveColor variable within the pixelshaders
Public propertyStatic memberEmissiveMixName
The var name for the uniform EmissiveMix variable within the pixelshaders
Public propertyStatic memberEmissiveTextureName
The var name for the uniform EmissiveTexture variable within the pixelshaders
Public propertyStatic memberLightColorName Obsolete.
The var name for the uniform LightColor variable within the pixelshaders
Public propertyStatic memberLightDirectionName Obsolete.
The var name for the uniform LightDirection variable within the pixelshaders
Public propertyStatic memberLightIntensityName Obsolete.
The var name for the uniform LightIntensity variable within the pixelshaders
Public propertyPS
The complete Pixelshader
Public propertyStatic memberSpecularColorName
The var name for the uniform SpecularColor variable within the pixelshaders
Public propertyStatic memberSpecularIntensityName
The var name for the uniform SpecularIntensity variable within the pixelshaders
Public propertyStatic memberSpecularMixName
The var name for the uniform SpecularMix variable within the pixelshaders
Public propertyStatic memberSpecularShininessName
The var name for the uniform SpecularShininess variable within the pixelshaders
Public propertyStatic memberSpecularTextureName
The var name for the uniform SpecularTexture variable within the pixelshaders
Public propertyVS
The complete VertexShader
Top
Methods
  NameDescription
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMakeShaderEffectFromMatComp
Creates a ShaderEffectComponent from a MaterialComponent
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.)
Top
See Also