Class UniformNameDeclarations
Collection of uniform parameter names, as they should be used in the Shader Shards to make them compatible to each other.
A hash code is assigned to each parameter, which is used to identify it internally.
Inheritance
System.Object
UniformNameDeclarations
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Fusee.Engine.Core.dll
public static class UniformNameDeclarations
Fields
The var name for the uniform Albedo variable within the pixel shaders.
Declaration
public const string Albedo = "Albedo"
Field Value
Type |
Description |
System.String |
|
Hash code for the Albedo parameter.
Declaration
public static readonly int AlbedoHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform AlbedoMix variable within the pixel shaders.
Declaration
public const string AlbedoMix = "AlbedoMix"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int AlbedoMixHash
Field Value
Type |
Description |
System.Int32 |
|
AlbedoTexture
The var name for the uniform DiffuseTexture variable within the pixel shaders.
Declaration
public const string AlbedoTexture = "AlbedoTexture"
Field Value
Type |
Description |
System.String |
|
AlbedoTextureHash
Declaration
public static readonly int AlbedoTextureHash
Field Value
Type |
Description |
System.Int32 |
|
Name of the global uniform array that holds all lights in the scene.
Declaration
public const string AllLightsArray = "FUSEE_allLights"
Field Value
Type |
Description |
System.String |
|
The var name for the uniform AmbientStrength variable within the pixel shaders.
Declaration
public const string AmbientStrength = "AmbientStrength"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int AmbientStrengthHash
Field Value
Type |
Description |
System.Int32 |
|
ArrayPostfix
The array postfix as we get it for uniforms of array types, if we call gl.GetShaderParamList().
Declaration
public const string ArrayPostfix = "[0]"
Field Value
Type |
Description |
System.String |
|
ArrayPostfixHash
Declaration
public static readonly int ArrayPostfixHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform BackgroundColor.
Declaration
public const string BackgroundColor = "BackgroundColor"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int BackgroundColorHash
Field Value
Type |
Description |
System.Int32 |
|
The bitangent attribute name.
Declaration
public const string Bitangent = "fuBitangent"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int BitangentHash
Field Value
Type |
Description |
System.Int32 |
|
The bone index attribute name.
Declaration
public const string BoneIndex = "fuBoneIndex"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int BoneIndexHash
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const string Bones = "FUSEE_BONES"
Field Value
Type |
Description |
System.String |
|
The bones array including the postfix.
Declaration
public const string BonesArray = "FUSEE_BONES[0]"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int BonesArrayHash
Field Value
Type |
Description |
System.Int32 |
|
Hash code for the Bones parameter.
Declaration
public static readonly int BonesHash
Field Value
Type |
Description |
System.Int32 |
|
The bone weight attribute name.
Declaration
public const string BoneWeight = "fuBoneWeight"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int BoneWeightHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform ClippingPlanes variable.
Declaration
public const string ClippingPlanes = "FUSEE_ClippingPlanes"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ClippingPlanesHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform ColorMode.
Declaration
public const string ColorMode = "ColorMode"
Field Value
Type |
Description |
System.String |
|
Declaration
public static int ColorModeHash
Field Value
Type |
Description |
System.Int32 |
|
DeferredRenderTextures
List of all possible render texture names.
Declaration
public static readonly List<string> DeferredRenderTextures
Field Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
DiffuseTextureTiles
The var name for the uniform DiffuseTexture variable within the pixel shaders.
Declaration
public const string DiffuseTextureTiles = "AlbedoTextureTiles"
Field Value
Type |
Description |
System.String |
|
DiffuseTextureTilesHash
Declaration
public static readonly int DiffuseTextureTilesHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform EmissiveColor variable within the pixel shaders.
Declaration
public const string EmissiveColor = "EmissiveColor"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int EmissiveColorHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform EmissiveMix variable within the pixel shaders.
Declaration
public const string EmissiveMix = "EmissiveMix"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int EmissiveMixHash
Field Value
Type |
Description |
System.Int32 |
|
EmissiveTexture
The var name for the uniform EmissiveTexture variable within the pixel shaders.
Declaration
public const string EmissiveTexture = "EmissiveTexture"
Field Value
Type |
Description |
System.String |
|
EmissiveTextureHash
Declaration
public static readonly int EmissiveTextureHash
Field Value
Type |
Description |
System.Int32 |
|
The bone index attribute name.
Declaration
public const string Flags = "fuFlags"
Field Value
Type |
Description |
System.String |
|
Hash code for the Flags parameter.
Declaration
public static readonly int FlagsHash
Field Value
Type |
Description |
System.Int32 |
|
The bones array including the postfix.
Declaration
public const string FuseePlatformId = "FUSEE_PLATFORM_ID"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int FuseePlatformIdHash
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const string IModel = "FUSEE_IM"
Field Value
Type |
Description |
System.String |
|
Hash code for the IModel parameter.
Declaration
public static readonly int IModelHash
Field Value
Type |
Description |
System.Int32 |
|
The inverse model view matrix.
Declaration
public const string IModelView = "FUSEE_IMV"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int IModelViewHash
Field Value
Type |
Description |
System.Int32 |
|
The inverse model view projection matrix.
Declaration
public const string IModelViewProjection = "FUSEE_IMVP"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int IModelViewProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The color attribute name.
Declaration
public const string InstanceColor = "fuInstanceColor"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int InstanceColorHash
Field Value
Type |
Description |
System.Int32 |
|
The vertex attribute name.
Declaration
public const string InstanceModelMat = "fuInstanceModelMat"
Field Value
Type |
Description |
System.String |
|
Hash code for the Vertex parameter.
Declaration
public static readonly int InstanceModelMatHash
Field Value
Type |
Description |
System.Int32 |
|
The inverse projection matrix.
Declaration
public const string IProjection = "FUSEE_IP"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int IProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The inversed transposed model view projection matrix.
Declaration
public const string ITModel = "FUSEE_ITM"
Field Value
Type |
Description |
System.String |
|
Hash code for the ITModel parameter.
Declaration
public static readonly int ITModelHash
Field Value
Type |
Description |
System.Int32 |
|
The inversed transposed model view matrix.
Declaration
public const string ITModelView = "FUSEE_ITMV"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ITModelViewHash
Field Value
Type |
Description |
System.Int32 |
|
The inversed transposed model view projection matrix.
Declaration
public const string ITModelViewProjection = "FUSEE_ITMVP"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ITModelViewProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The inversed transposed projection matrix.
Declaration
public const string ITProjection = "FUSEE_ITP"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ITProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The inverse transposed view matrix.
Declaration
public const string ITView = "FUSEE_ITV"
Field Value
Type |
Description |
System.String |
|
Hash code for the ITView parameter.
Declaration
public static readonly int ITViewHash
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const string IView = "FUSEE_IV"
Field Value
Type |
Description |
System.String |
|
Hash code for the IView parameter.
Declaration
public static readonly int IViewHash
Field Value
Type |
Description |
System.Int32 |
|
Name of a light's shadow bias variable.
Declaration
public const string LightBias = "bias"
Field Value
Type |
Description |
System.String |
|
Name of a light's direction variable.
Declaration
public const string LightDirection = "direction"
Field Value
Type |
Description |
System.String |
|
LightedSceneTexture
The texture name for the lighted scene
Declaration
public const string LightedSceneTexture = "LIGHTED_SCENE_TEX"
Field Value
Type |
Description |
System.String |
|
Name of a light's maximal distance variable.
Declaration
public const string LightInnerConeAngle = "innerConeAngle"
Field Value
Type |
Description |
System.String |
|
Name of a light's intensity/color variable.
Declaration
public const string LightIntensities = "intensities"
Field Value
Type |
Description |
System.String |
|
Name of the variable that determines if the light is active.
Declaration
public const string LightIsActive = "isActive"
Field Value
Type |
Description |
System.String |
|
Name of the variable that determines if the light casts shadows.
Declaration
public const string LightIsCastingShadows = "isCastingShadows"
Field Value
Type |
Description |
System.String |
|
The var name for the uniform LightMatClipPlanes.
Declaration
public const string LightMatClipPlanes = "LightMatClipPlanes"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int LightMatClipPlanesHash
Field Value
Type |
Description |
System.Int32 |
|
Name of a light's maximal distance variable.
Declaration
public const string LightMaxDist = "maxDistance"
Field Value
Type |
Description |
System.String |
|
Name of a light's outer cone angle variable.
Declaration
public const string LightOuterConeAngle = "outerConeAngle"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int LightPosHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform LightSpaceMatrix.
Declaration
public const string LightShadowPos = "LightPos"
Field Value
Type |
Description |
System.String |
|
The var name for the uniform LightSpaceMatrix.
Declaration
public const string LightSpaceMatrices = "LightSpaceMatrices"
Field Value
Type |
Description |
System.String |
|
The var name for the uniform LightSpaceMatrix with 6 elements e.g. LightSpaceMatrices[6].
Declaration
public const string LightSpaceMatrices6 = "LightSpaceMatrices[6]"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int LightSpaceMatricesHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform LightSpaceMatrix.
Declaration
public const string LightSpaceMatrix = "LightSpaceMatrix"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int LightSpaceMatrixHash
Field Value
Type |
Description |
System.Int32 |
|
Name of a light's strength variable.
Declaration
public const string LightStrength = "strength"
Field Value
Type |
Description |
System.String |
|
Name of a light's type variable.
Declaration
public const string LightType = "lightType"
Field Value
Type |
Description |
System.String |
|
Name of a light's position variable.
Declaration
public const string LightWorldPos = "position"
Field Value
Type |
Description |
System.String |
|
The model matrix. Transforms from model into world space.
Declaration
public const string Model = "FUSEE_M"
Field Value
Type |
Description |
System.String |
|
Hash code for the Model parameter.
Declaration
public static readonly int ModelHash
Field Value
Type |
Description |
System.Int32 |
|
The model view matrix. Transforms from model into camera space.
Declaration
public const string ModelView = "FUSEE_MV"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ModelViewHash
Field Value
Type |
Description |
System.Int32 |
|
The model view projection matrix. Transforms from model into clip space.
Declaration
public const string ModelViewProjection = "FUSEE_MVP"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ModelViewProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform NoiseTex variable, needed to calculate SSAO.
Declaration
public static readonly string NoiseTex
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int NoiseTexHash
Field Value
Type |
Description |
System.Int32 |
|
The normal attribute name.
Declaration
public const string Normal = "fuNormal"
Field Value
Type |
Description |
System.String |
|
Hash code for the Normal parameter.
Declaration
public static readonly int NormalHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform NormalMap variable within the pixel shaders.
Declaration
public const string NormalMap = "NormalMap"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int NormalMapHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform NormalMapIntensity variable within the pixel shaders.
Declaration
public const string NormalMapIntensity = "NormalMapIntensity"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int NormalMapIntensityHash
Field Value
Type |
Description |
System.Int32 |
|
NormalTextureTiles
The var name for the uniform NormalTextureTiles variable within the pixel shaders.
Declaration
public const string NormalTextureTiles = "NormalTextureTiles"
Field Value
Type |
Description |
System.String |
|
NormalTextureTilesHash
Declaration
public static readonly int NormalTextureTilesHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform PointShape.
Declaration
public const string PointShape = "PointShape"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int PointShapeHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform PointSize.
Declaration
public const string PointSize = "PointSize"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int PointSizeHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform PointSizeMode.
Declaration
public const string PointSizeMode = "PointSizeMode"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int PointSizeModeHash
Field Value
Type |
Description |
System.Int32 |
|
The model view matrix. Transforms from view into clip space.
Declaration
public const string Projection = "FUSEE_P"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform PassNo variable.
Declaration
public const string RenderPassNo = "PassNo"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int RenderPassNoHash
Field Value
Type |
Description |
System.Int32 |
|
[PBR (Cook-Torrance) only] Describes the roughness of the material.
Declaration
public const string RoughnessValue = "RoughnessValue"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int RoughnessValueHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform ShadowCubeMap.
Declaration
public const string ShadowCubeMap = "ShadowCubeMap"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ShadowCubeMapHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform ShadowMap.
Declaration
public const string ShadowMap = "ShadowMap"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ShadowMapHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform SpecularColor variable within the pixel shaders.
Declaration
public const string SpecularColor = "SpecularColor"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int SpecularColorHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform SpecularMix variable within the pixel shaders.
Declaration
public const string SpecularMix = "SpecularMix"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int SpecularMixHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform SpecularShininess variable within the pixel shaders.
Declaration
public const string SpecularShininess = "SpecularShininess"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int SpecularShininessHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform SpecularStrength variable within the pixel shaders.
Declaration
public const string SpecularStrength = "SpecularStrength"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int SpecularStrengthHash
Field Value
Type |
Description |
System.Int32 |
|
SpecularTexture
The var name for the uniform SpecularTexture variable within the pixel shaders.
Declaration
public const string SpecularTexture = "SpecularTexture"
Field Value
Type |
Description |
System.String |
|
SpecularTextureHash
Declaration
public static readonly int SpecularTextureHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform SSAOKernel[0] variable.
Declaration
public static readonly string SSAOKernel
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int SSAOKernelHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform SsaoOn variable.
Declaration
public static readonly string SsaoOn
Field Value
Type |
Description |
System.String |
|
Hash code for the SsaoOn parameter.
Declaration
public static readonly int SsaoOnHash
Field Value
Type |
Description |
System.Int32 |
|
The tangent attribute name.
Declaration
public const string Tangent = "fuTangent"
Field Value
Type |
Description |
System.String |
|
Hash code for the Tangent parameter.
Declaration
public static readonly int TangentHash
Field Value
Type |
Description |
System.Int32 |
|
TextureCoordinates
Declaration
public const string TextureCoordinates = "fuUV"
Field Value
Type |
Description |
System.String |
|
TextureCoordinatesHash
Declaration
public static readonly int TextureCoordinatesHash
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const string TModel = "FUSEE_TM"
Field Value
Type |
Description |
System.String |
|
Hash code for the TModel parameter.
Declaration
public static readonly int TModelHash
Field Value
Type |
Description |
System.Int32 |
|
The transposed model view matrix.
Declaration
public const string TModelView = "FUSEE_TMV"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int TModelViewHash
Field Value
Type |
Description |
System.Int32 |
|
The transposed model view projection matrix.
Declaration
public const string TModelViewProjection = "FUSEE_TMVP"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int TModelViewProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The transposed projection matrix.
Declaration
public const string TProjection = "FUSEE_TP"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int TProjectionHash
Field Value
Type |
Description |
System.Int32 |
|
The inverse transposed view matrix.
Declaration
public const string TView = "FUSEE_TV"
Field Value
Type |
Description |
System.String |
|
Hash code for the TView parameter.
Declaration
public static readonly int TViewHash
Field Value
Type |
Description |
System.Int32 |
|
The vertex attribute name.
Declaration
public const string Vertex = "fuVertex"
Field Value
Type |
Description |
System.String |
|
The color attribute name.
Declaration
public const string VertexColor = "fuColor"
Field Value
Type |
Description |
System.String |
|
The color attribute name.
Declaration
public const string VertexColor1 = "fuColor1"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int VertexColor1Hash
Field Value
Type |
Description |
System.Int32 |
|
The color attribute name.
Declaration
public const string VertexColor2 = "fuColor2"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int VertexColor2Hash
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public static readonly int VertexColorHash
Field Value
Type |
Description |
System.Int32 |
|
Hash code for the Vertex parameter.
Declaration
public static readonly int VertexHash
Field Value
Type |
Description |
System.Int32 |
|
The view matrix. Transforms from world into camera space.
Declaration
public const string View = "FUSEE_V"
Field Value
Type |
Description |
System.String |
|
Hash code for the View parameter.
Declaration
public static readonly int ViewHash
Field Value
Type |
Description |
System.Int32 |
|
The var name for the uniform ScreenParams (width and height of the window).
Declaration
public const string ViewportPx = "FUSEE_ViewportPx"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int ViewportPxHash
Field Value
Type |
Description |
System.Int32 |
|
Methods
Returns the full name of the light's shadow bias uniform, including AllLightsArray.
Declaration
public static string GetBiasName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the light's direction uniform, including AllLightsArray.
Declaration
public static string GetDirectionName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the light's inner cone angle uniform, including AllLightsArray.
Declaration
public static string GetInnerConeAngleName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the intensity uniform, including AllLightsArray.
Declaration
public static string GetIntensitiesName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the light's "active" uniform, including AllLightsArray.
Declaration
public static string GetIsActiveName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the light's "is casting shadows" uniform, including AllLightsArray.
Declaration
public static string GetIsCastingShadowsName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the maximal distance uniform, including AllLightsArray.
Declaration
public static string GetMaxDistName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the light's outer cone angle uniform, including AllLightsArray.
Declaration
public static string GetOuterConeAngleName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the position uniform, including AllLightsArray.
Declaration
public static string GetPosName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the light's strength uniform, including AllLightsArray.
Declaration
public static string GetStrengthName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Returns the full name of the light's type uniform, including AllLightsArray.
Declaration
public static string GetTypeName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|