SHADERINFO

Detailed Description

Information flags for BaseShader::GetRenderInfo.

Enumerations

enum  SHADERINFO {
  SHADERINFO_0,
  SHADERINFO_TRANSFORM,
  SHADERINFO_BUMP_SUPPORT,
  SHADERINFO_ALPHA_SUPPORT,
  SHADERINFO_REFLECTIONS,
  SHADERINFO_DUDVREQUIRED,
  SHADERINFO_DYNAMICSUBSHADERS,
  SHADERINFO_TRANSPARENCIES
}
 

Enumeration Type Documentation

§ SHADERINFO

enum SHADERINFO
Enumerator
SHADERINFO_0 

None.

SHADERINFO_TRANSFORM 

Channel needs back-transformed data. (Required for BaseVolumeData::back_p.)

SHADERINFO_BUMP_SUPPORT 

Channel shader supports the new bump system. This is strongly recommended for all shaders except simple 2D (UV) samplers.

SHADERINFO_ALPHA_SUPPORT 

Channel shader supports alpha output.

SHADERINFO_REFLECTIONS 

Channel shader computes reflections.

SHADERINFO_DUDVREQUIRED 

Channel shader needs du/dv bump mapping data. See BaseVolumeData::ddu and BaseVolumeData::ddv.

SHADERINFO_DYNAMICSUBSHADERS 

Channel shader has a dynamic list of sub-shaders in its description.

SHADERINFO_TRANSPARENCIES 

Channel shader computes transparencies.