SHADERINFO

Detailed Description

Information flags for BaseShader::GetRenderInfo.

Enumerations

enum class  SHADERINFO {
  NONE ,
  TRANSFORM ,
  BUMP_SUPPORT ,
  ALPHA_SUPPORT ,
  REFLECTIONS ,
  DUDVREQUIRED ,
  DYNAMICSUBSHADERS ,
  TRANSPARENCIES
}
 

Functions

enum SHADERINFO MAXON_ENUM_FLAGS (SHADERINFO)
 

Enumeration Type Documentation

◆ SHADERINFO

enum SHADERINFO
strong
Enumerator
NONE 

None.

TRANSFORM 

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

BUMP_SUPPORT 

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

ALPHA_SUPPORT 

Channel shader supports alpha output.

REFLECTIONS 

Channel shader computes reflections.

DUDVREQUIRED 

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

DYNAMICSUBSHADERS 

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

TRANSPARENCIES 

Deprecated, not used anymore.

Function Documentation

◆ MAXON_ENUM_FLAGS()

enum SHADERINFO MAXON_ENUM_FLAGS ( SHADERINFO  )