Click or drag to resize
DigitalRuneSceneEffectParameterSemantics Class
Defines the standard semantics for effect parameters used in a IScene.
Inheritance Hierarchy
SystemObject
  DigitalRune.Graphics.EffectsSceneEffectParameterSemantics

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static class SceneEffectParameterSemantics

The SceneEffectParameterSemantics type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberAmbientLight
The intensity of an ambient light (RGB as Vector3 or RGBA as Vector4).
Public fieldStatic memberAmbientLightAttenuation
The hemispheric attenuation factor of the ambient light (Single). (0 = pure ambient, no hemispheric lighting; 1 = one-sided hemispheric lighting)
Public fieldStatic memberAmbientLightUp
The up vector of the ambient light in world space (Vector3 or Vector4). (Used for hemispheric attenuation AmbientLightAttenuation.)
Public fieldStatic memberBones Obsolete.
The skinning matrices for mesh skinning (array of Matrix).
Public fieldStatic memberCameraDirection
The camera direction in world space (Vector3 or Vector4).
Public fieldStatic memberCameraFar
The distance of the camera far plane (Single).
Public fieldStatic memberCameraNear
The distance of the camera near plane (Single).
Public fieldStatic memberCameraPosition
The camera position in world space (Vector3 or Vector4).
Public fieldStatic memberDecalAlpha
The opacity of the decal (Single).
Public fieldStatic memberDecalNormalThreshold
The normal threshold of the decal given as cos(α) (Single).
Public fieldStatic memberDecalOptions
The decal options.
Public fieldStatic memberDecalOrientation
The orientation of the decal (= z-axis in world space, Vector3).
Public fieldStatic memberDirectionalLightDiffuse
The diffuse intensity of a directional light (Vector3 or Vector4).
Public fieldStatic memberDirectionalLightDirection
The light direction in world space (Vector3 or Vector4).
Public fieldStatic memberDirectionalLightShadowCascadeDistances
The cascade split distances of a directional light shadow (Vector4).
Public fieldStatic memberDirectionalLightShadowDepthBias
The depth bias of each cascade of a directional light shadow (Vector4).
Public fieldStatic memberDirectionalLightShadowDepthBiasOffset
The depth bias offset of each cascade of a directional light shadow (Vector4).
Public fieldStatic memberDirectionalLightShadowDepthBiasScale
The depth bias scale of each cascade of a directional light shadow (Vector4).
Public fieldStatic memberDirectionalLightShadowFadeOutDistance
The distance where a directional light shadow starts to fade out (Single).
Public fieldStatic memberDirectionalLightShadowFadeOutRange
The relative range over which directional light shadows are faded out (Single).
Public fieldStatic memberDirectionalLightShadowFilterRadius
The filter radius of a directional light shadow (Single).
Public fieldStatic memberDirectionalLightShadowFog
The shadow factor that is used beyond the maximum distance of a directional light shadow (Single).
Public fieldStatic memberDirectionalLightShadowJitterResolution
The jitter resolution (for jitter sampling) of a directional light shadow (Single).
Public fieldStatic memberDirectionalLightShadowMap
The shadow map of a directional light shadow (Texture2D).
Public fieldStatic memberDirectionalLightShadowMapSize
The shadow map size of a directional light shadow (Vector2).
Public fieldStatic memberDirectionalLightShadowMaxDistance
The maximum distance up to which a directional light shadow is rendered (Single).
Public fieldStatic memberDirectionalLightShadowNormalOffset
The normal offset of each cascade of a directional light shadow (Vector4).
Public fieldStatic memberDirectionalLightShadowNumberOfCascades
The number of cascades of a directional light shadow (Int32).
Public fieldStatic memberDirectionalLightShadowParameters
The shadow parameters of a directional light shadow. (The type is either struct ShadowParameters as defined in ShadowMap.fxh or struct CascadedShadowParameters as defined in CascadedShadowMap.fxh.)
Public fieldStatic memberDirectionalLightShadowViewProjections
The transform matrices of a directional light shadow (array of Matrix).
Public fieldStatic memberDirectionalLightSpecular
The specular intensity of a directional light (Vector3 or Vector4).
Public fieldStatic memberDirectionalLightTexture
The texture of a directional light (Texture2D).
Public fieldStatic memberDirectionalLightTextureMatrix
The texture matrix of a directional light which converts positions from world space to the texture space of the light (Matrix).
Public fieldStatic memberDirectionalLightTextureOffset
The texture offset of a directional light (Vector2).
Public fieldStatic memberDirectionalLightTextureScale
The texture scale of a directional light (Vector2).
Public fieldStatic memberEnvironmentMap
The cube map texture containing the environment (TextureCube). (Environment cube maps in a scene are defined using ImageBasedLights.)
Public fieldStatic memberEnvironmentMapDiffuse
The intensity of diffuse environment map reflections (Vector3 or Vector4).
Public fieldStatic memberEnvironmentMapMatrix
The texture matrix of the environment map which converts positions from world space to the texture space of the cube map (Matrix).
Public fieldStatic memberEnvironmentMapRgbmMax
The max value (see also Max) of the RGBM encoding in gamma space (Single). If the environment map is encoded using sRGB, this value is 1.
Public fieldStatic memberEnvironmentMapSize
The side length of one cube map face of the environment map in texels (Single).
Public fieldStatic memberEnvironmentMapSpecular
The intensity of specular environment map reflections (Vector3 or Vector4).
Public fieldStatic memberFogColor
The fog color (RGBA as Vector4).
Public fieldStatic memberFogDensity
The density of the fog (Single).
Public fieldStatic memberFogEnd
The end distance of the fog (Single).
Public fieldStatic memberFogParameters
The combined parameters of the fog; a Vector4 containing: (start distance, end distance or 1 / density, fog curve exponent, height falloff).
Public fieldStatic memberFogStart
The start distance of the fog (Single).
Public fieldStatic memberLastCameraDirection
The camera direction of the last frame in world space (Vector3 or Vector4).
Public fieldStatic memberLastCameraPosition
The camera position of the last frame in world space (Vector3 or Vector4).
Public fieldStatic memberLastPosition
The position of the object in world space (Vector3 or Vector4) of the last frame.
Public fieldStatic memberLastProjection
The projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastProjectionInverse
The inverse projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastProjectionInverseTranspose
The transpose of the inverse projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastProjectionTranspose
The transpose of the projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastView
The view matrix (Matrix) of the last frame.
Public fieldStatic memberLastViewInverse
The inverse view matrix (Matrix) of the last frame.
Public fieldStatic memberLastViewInverseTranspose
The transpose of the inverse view matrix (Matrix) of the last frame.
Public fieldStatic memberLastViewProjection
The view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastViewProjectionInverse
The inverse view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastViewProjectionInverseTranspose
The transpose of the inverse view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastViewProjectionTranspose
The transpose of the view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastViewTranspose
The transpose of the view matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorld
The world matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldInverse
The inverse world matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldInverseTranspose
The transpose of the inverse world matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldTranspose
The transpose of the world matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldView
The world-view matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldViewInverse
The inverse world-view matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldViewInverseTranspose
The transpose of the inverse world-view matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldViewProjection
The world-view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldViewProjectionInverse
The inverse world-view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldViewProjectionInverseTranspose
The transpose of the inverse world-view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldViewProjectionTranspose
The transpose of the world-view-projection matrix (Matrix) of the last frame.
Public fieldStatic memberLastWorldViewTranspose
The transpose of the world-view matrix (Matrix) of the last frame.
Public fieldStatic memberLodCameraPosition
The position of the camera used as reference for LOD calculations (Vector3).
Public fieldStatic memberPointLightAttenuation
The attenuation exponent of a point light (Single).
Public fieldStatic memberPointLightDiffuse
The diffuse intensity of a point light (Vector3 or Vector4).
Public fieldStatic memberPointLightPosition
The position of a point light in world space (Vector3 or Vector4).
Public fieldStatic memberPointLightRange
The range of a point light (Single).
Public fieldStatic memberPointLightSpecular
The specular intensity of a point light (Vector3 or Vector4).
Public fieldStatic memberPointLightTexture
The texture of a point light (TextureCube).
Public fieldStatic memberPointLightTextureMatrix
The texture matrix of a point light which converts directions from world space to the texture space of the light (Matrix).
Public fieldStatic memberPosition
The position of the object in world space (Vector3 or Vector4).
Public fieldStatic memberProjection
The projection matrix (Matrix).
Public fieldStatic memberProjectionInverse
The inverse projection matrix (Matrix).
Public fieldStatic memberProjectionInverseTranspose
The transpose of the inverse projection matrix (Matrix).
Public fieldStatic memberProjectionTranspose
The transpose of the projection matrix (Matrix).
Public fieldStatic memberProjectorLightAttenuation
The attenuation exponent of a projector light (Single).
Public fieldStatic memberProjectorLightDiffuse
The diffuse intensity of a projector light (Vector3 or Vector4).
Public fieldStatic memberProjectorLightDirection
The direction of a projector light in world space (Vector3 or Vector4).
Public fieldStatic memberProjectorLightPosition
The position of a projector light in world space (Vector3 or Vector4).
Public fieldStatic memberProjectorLightRange
The range of a projector light (Single).
Public fieldStatic memberProjectorLightSpecular
The specular intensity of a projector light (Vector3 or Vector4).
Public fieldStatic memberProjectorLightTexture
The texture that is projected by the projector light.
Public fieldStatic memberProjectorLightTextureMatrix
The texture matrix of a projector light which converts positions from world space to the texture space of the light (Matrix).
Public fieldStatic memberProjectorLightViewProjection
The view-projection matrix of the projector light.
Public fieldStatic memberShadowFar
The distance to the far plane of the shadow projection (Single). (Only valid during shadow map creation.)
Public fieldStatic memberShadowNear
The distance to the near plane of the shadow projection (Single). (Only valid during shadow map creation.)
Public fieldStatic memberSpotlightAttenuation
The attenuation exponent of a spotlight (Single).
Public fieldStatic memberSpotlightCutoffAngle
The cutoff (penumbra) angle of the spotlight in radians (Single).
Public fieldStatic memberSpotlightDiffuse
The diffuse intensity of a spotlight (Vector3 or Vector4).
Public fieldStatic memberSpotlightDirection
The direction of a spotlight in world space (Vector3 or Vector4).
Public fieldStatic memberSpotlightFalloffAngle
The falloff (umbra) angle of the spotlight in radians (Single).
Public fieldStatic memberSpotlightPosition
The position of a spotlight in world space (Vector3 or Vector4).
Public fieldStatic memberSpotlightRange
The range of a spotlight (Single).
Public fieldStatic memberSpotlightSpecular
The specular intensity of a spotlight (Vector3 or Vector4).
Public fieldStatic memberSpotlightTexture
The texture of a spotlight (Texture2D).
Public fieldStatic memberSpotlightTextureMatrix
The texture matrix of a spotlight which converts positions from world space to the texture space of the light (Matrix).
Public fieldStatic memberUnscaledWorld
Same as World, except that the matrix does not contain any scale factors.
Public fieldStatic memberUnscaledWorldView
Same as WorldView, except that the matrix does not contain any scale factors.
Public fieldStatic memberView
The view matrix (Matrix).
Public fieldStatic memberViewInverse
The inverse of the view matrix (Matrix).
Public fieldStatic memberViewInverseTranspose
The transpose of the inverse view matrix (Matrix).
Public fieldStatic memberViewProjection
The view-projection matrix (Matrix).
Public fieldStatic memberViewProjectionInverse
The inverse view-projection matrix (Matrix).
Public fieldStatic memberViewProjectionInverseTranspose
The transpose of the inverse view-projection matrix (Matrix).
Public fieldStatic memberViewProjectionTranspose
The transpose of the view-projection matrix (Matrix).
Public fieldStatic memberViewTranspose
The transpose of the view matrix (Matrix).
Public fieldStatic memberWorld
The world matrix (Matrix).
Public fieldStatic memberWorldInverse
The inverse world matrix (Matrix).
Public fieldStatic memberWorldInverseTranspose
The transpose of the inverse world matrix (Matrix).
Public fieldStatic memberWorldTranspose
The transpose of the world matrix (Matrix).
Public fieldStatic memberWorldView
The world-view matrix (Matrix).
Public fieldStatic memberWorldViewInverse
The inverse world-view matrix (Matrix).
Public fieldStatic memberWorldViewInverseTranspose
The transpose of the inverse world-view matrix (Matrix).
Public fieldStatic memberWorldViewProjection
The world-view-projection matrix (Matrix).
Public fieldStatic memberWorldViewProjectionInverse
The inverse world-view-projection matrix (Matrix).
Public fieldStatic memberWorldViewProjectionInverseTranspose
The transpose of the inverse world-view-projection matrix (Matrix).
Public fieldStatic memberWorldViewProjectionTranspose
The transpose of the world-view-projection matrix (Matrix).
Public fieldStatic memberWorldViewTranspose
The transpose of the world-view matrix (Matrix).
Top
Remarks

The standard semantic define the meaning of effect parameters. See EffectParameterDescription.

Important: General semantics specified in an .fx files are case-insensitive. Therefore, use the InvariantCultureIgnoreCase string comparer for parsing .fx files. But when accessed from code (C# or VB.NET) the strings are case-sensitive! That means the standard semantics stored in EffectParameterDescription can be compared directly.

See Also