Click or drag to resize
DigitalRuneDefaultEffectParameterSemantics Class
Defines the standard semantics for default effect parameters.
Inheritance Hierarchy
SystemObject
  DigitalRune.Graphics.EffectsDefaultEffectParameterSemantics

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

The DefaultEffectParameterSemantics type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberAlpha
The opacity (alpha) as a single value (Single).
Public fieldStatic memberBlendMode
The blend mode (Single): 0 = additive blending, 1 = normal alpha blending
Public fieldStatic memberBones
The skinning matrices for mesh skinning (array of Matrix).
Public fieldStatic memberDebug
A 4-element vector with user-defined data for debugging (Vector4).
Public fieldStatic memberDiffuseColor
The diffuse material color as RGB (Vector3) or RGBA (Vector4).
Public fieldStatic memberDiffuseTexture
The albedo texture (Texture2D).
Public fieldStatic memberDitherMap
An 8-bit texture (alpha only) with 16x16 dither values (Texture or Texture2D).
Public fieldStatic memberElapsedTime
The time since the previous frame in seconds (Single).
Public fieldStatic memberEmissiveColor
The emissive material color as RGB (Vector3) or RGBA (Vector4).
Public fieldStatic memberEmissiveTexture
The emissive texture (Texture2D).
Public fieldStatic memberFresnelPower
The power of the Fresnel term (Single).
Public fieldStatic memberGBuffer
The G-buffer texture (Texture or Texture2D).
Public fieldStatic memberInstanceAlpha
The instance opacity (alpha) as a single value (Single).
Public fieldStatic memberInstanceColor
The instance color as RGB (Vector3).
Public fieldStatic memberJitterMap
A quadratic RGBA texture (8 bit per channel) with random values (Texture or Texture2D).
Public fieldStatic memberJitterMapSize
The width of the quadratic JitterMap in texels (Single or Vector2).
Public fieldStatic memberLastTime
The simulation time of the previous frame in seconds (Single).
Public fieldStatic memberLightBuffer
The light buffer texture (Texture or Texture2D).
Public fieldStatic memberMorphWeight
The weight of a morph target (Single or an array of Single).
Public fieldStatic memberNaN
A value containing NaN (Single).
Public fieldStatic memberNoiseMap
A quadratic, tileable RGBA texture (8 bit per channel) with smooth noise values (Texture or Texture2D).
Public fieldStatic memberNormalsFittingTexture
The normals fitting texture (Texture or Texture2D) for encoding "best fit" normals.
Public fieldStatic memberNormalTexture
The surface normal texture (Texture2D).
Public fieldStatic memberOpacity
The opacity (alpha) as a single value (Single).
Public fieldStatic memberPassIndex
The zero-based index of the current effect pass (Int32).
Public fieldStatic memberReferenceAlpha
The reference value (Single) used for alpha testing.
Public fieldStatic memberSourceTexture
The source texture which is usually the last backbuffer or the result of a previous post-processor (Texture2D).
Public fieldStatic memberSpecularColor
The specular material color as RGB (Vector3) or RGBA (Vector4).
Public fieldStatic memberSpecularPower
The material specular color exponent as a single value (Single) or a per-component value (Vector3).
Public fieldStatic memberSpecularTexture
The gloss texture (Texture2D) containing the specular intensity (not specular power).
Public fieldStatic memberTime
The simulation time in seconds (Single).
Public fieldStatic memberViewportSize
The viewport width and height in pixels (Vector2).
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