TextureTileParameters
Description
- Derived from
-
RenderEffectParameters abstract
Shared render effect parameters for TextureTile.
The following low-level render effect parameter slots are always defined (N := terrain slot count, as passed to constructor):
-
'g_tileBounds', RenderEffectParameterType.Vector4 [N*2], mapped to Bounds.
-
'g_tileGamma', RenderEffectParameterType.Float [N*2], mapped to Gamma.
-
'g_tileOffset', RenderEffectParameterType.Vector4 [N*2], mapped to Offset.
-
'g_tileTexture', RenderEffectParameterType.Texture2D [N*2], mapped to Texture.
-
'g_tileU', RenderEffectParameterType.Vector3 [N*2], mapped to U.
-
'g_tileV', RenderEffectParameterType.Vector3 [N*2], mapped to V.
The following low-level render effect parameter slots are omitted if FlagNoTextureArray is present:
-
'g_tileSlice', RenderEffectParameterType.Int [N*2], mapped to Slice.
Public / Constants
FlagIndexMask
Bitmask for extracting the parameter slot element index from the flags that have been passed to RenderEffectParameters.Declare.
Parameter slot element indices must be in the range [0..16[.
- See also