MaterialX 1.39.1
Loading...
Searching...
No Matches
HwShaderGenerator.h File Reference

Hardware shader generator base class. More...

Go to the source code of this file.

Classes

class  HwLightShaders
 Hardware light shader user data. More...
 
class  HwShaderGenerator
 Base class for shader generators targeting HW rendering. More...
 
class  HwImplementation
 
class  HwResourceBindingContext
 Class representing a context for resource binding for hardware resources. More...
 

Namespaces

namespace  HW
 HW specific identifiers.
 

Typedefs

using HwLightShadersPtr = shared_ptr< class HwLightShaders >
 Shared pointer to a HwLightShaders.
 
using HwShaderGeneratorPtr = shared_ptr< class HwShaderGenerator >
 Shared pointer to a HwShaderGenerator.
 
using HwResourceBindingContextPtr = shared_ptr< class HwResourceBindingContext >
 Shared pointer to a HwResourceBindingContext.
 

Variables

MX_GENSHADER_API const string T_IN_POSITION
 Token identifiers.
 
MX_GENSHADER_API const string T_IN_NORMAL
 
MX_GENSHADER_API const string T_IN_TANGENT
 
MX_GENSHADER_API const string T_IN_BITANGENT
 
MX_GENSHADER_API const string T_IN_TEXCOORD
 
MX_GENSHADER_API const string T_IN_GEOMPROP
 
MX_GENSHADER_API const string T_IN_COLOR
 
MX_GENSHADER_API const string T_POSITION_WORLD
 
MX_GENSHADER_API const string T_NORMAL_WORLD
 
MX_GENSHADER_API const string T_TANGENT_WORLD
 
MX_GENSHADER_API const string T_BITANGENT_WORLD
 
MX_GENSHADER_API const string T_POSITION_OBJECT
 
MX_GENSHADER_API const string T_NORMAL_OBJECT
 
MX_GENSHADER_API const string T_TANGENT_OBJECT
 
MX_GENSHADER_API const string T_BITANGENT_OBJECT
 
MX_GENSHADER_API const string T_TEXCOORD
 
MX_GENSHADER_API const string T_COLOR
 
MX_GENSHADER_API const string T_WORLD_MATRIX
 
MX_GENSHADER_API const string T_WORLD_INVERSE_MATRIX
 
MX_GENSHADER_API const string T_WORLD_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string T_WORLD_INVERSE_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string T_VIEW_MATRIX
 
MX_GENSHADER_API const string T_VIEW_INVERSE_MATRIX
 
MX_GENSHADER_API const string T_VIEW_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string T_VIEW_INVERSE_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string T_PROJ_MATRIX
 
MX_GENSHADER_API const string T_PROJ_INVERSE_MATRIX
 
MX_GENSHADER_API const string T_PROJ_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string T_PROJ_INVERSE_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string T_WORLD_VIEW_MATRIX
 
MX_GENSHADER_API const string T_VIEW_PROJECTION_MATRIX
 
MX_GENSHADER_API const string T_WORLD_VIEW_PROJECTION_MATRIX
 
MX_GENSHADER_API const string T_VIEW_POSITION
 
MX_GENSHADER_API const string T_VIEW_DIRECTION
 
MX_GENSHADER_API const string T_FRAME
 
MX_GENSHADER_API const string T_TIME
 
MX_GENSHADER_API const string T_GEOMPROP
 
MX_GENSHADER_API const string T_ALPHA_THRESHOLD
 
MX_GENSHADER_API const string T_NUM_ACTIVE_LIGHT_SOURCES
 
MX_GENSHADER_API const string T_ENV_MATRIX
 
MX_GENSHADER_API const string T_ENV_RADIANCE
 
MX_GENSHADER_API const string T_ENV_RADIANCE_MIPS
 
MX_GENSHADER_API const string T_ENV_RADIANCE_SAMPLES
 
MX_GENSHADER_API const string T_ENV_IRRADIANCE
 
MX_GENSHADER_API const string T_ENV_LIGHT_INTENSITY
 
MX_GENSHADER_API const string T_ENV_PREFILTER_MIP
 
MX_GENSHADER_API const string T_REFRACTION_TWO_SIDED
 
MX_GENSHADER_API const string T_ALBEDO_TABLE
 
MX_GENSHADER_API const string T_ALBEDO_TABLE_SIZE
 
MX_GENSHADER_API const string T_AMB_OCC_MAP
 
MX_GENSHADER_API const string T_AMB_OCC_GAIN
 
MX_GENSHADER_API const string T_SHADOW_MAP
 
MX_GENSHADER_API const string T_SHADOW_MATRIX
 
MX_GENSHADER_API const string T_VERTEX_DATA_INSTANCE
 
MX_GENSHADER_API const string T_LIGHT_DATA_INSTANCE
 
MX_GENSHADER_API const string IN_POSITION
 Default names for identifiers. More...
 
MX_GENSHADER_API const string IN_NORMAL
 
MX_GENSHADER_API const string IN_TANGENT
 
MX_GENSHADER_API const string IN_BITANGENT
 
MX_GENSHADER_API const string IN_TEXCOORD
 
MX_GENSHADER_API const string IN_GEOMPROP
 
MX_GENSHADER_API const string IN_COLOR
 
MX_GENSHADER_API const string POSITION_WORLD
 
MX_GENSHADER_API const string NORMAL_WORLD
 
MX_GENSHADER_API const string TANGENT_WORLD
 
MX_GENSHADER_API const string BITANGENT_WORLD
 
MX_GENSHADER_API const string POSITION_OBJECT
 
MX_GENSHADER_API const string NORMAL_OBJECT
 
MX_GENSHADER_API const string TANGENT_OBJECT
 
MX_GENSHADER_API const string BITANGENT_OBJECT
 
MX_GENSHADER_API const string TEXCOORD
 
MX_GENSHADER_API const string COLOR
 
MX_GENSHADER_API const string WORLD_MATRIX
 
MX_GENSHADER_API const string WORLD_INVERSE_MATRIX
 
MX_GENSHADER_API const string WORLD_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string WORLD_INVERSE_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string VIEW_MATRIX
 
MX_GENSHADER_API const string VIEW_INVERSE_MATRIX
 
MX_GENSHADER_API const string VIEW_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string VIEW_INVERSE_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string PROJ_MATRIX
 
MX_GENSHADER_API const string PROJ_INVERSE_MATRIX
 
MX_GENSHADER_API const string PROJ_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string PROJ_INVERSE_TRANSPOSE_MATRIX
 
MX_GENSHADER_API const string WORLD_VIEW_MATRIX
 
MX_GENSHADER_API const string VIEW_PROJECTION_MATRIX
 
MX_GENSHADER_API const string WORLD_VIEW_PROJECTION_MATRIX
 
MX_GENSHADER_API const string VIEW_POSITION
 
MX_GENSHADER_API const string VIEW_DIRECTION
 
MX_GENSHADER_API const string FRAME
 
MX_GENSHADER_API const string TIME
 
MX_GENSHADER_API const string GEOMPROP
 
MX_GENSHADER_API const string ALPHA_THRESHOLD
 
MX_GENSHADER_API const string NUM_ACTIVE_LIGHT_SOURCES
 
MX_GENSHADER_API const string ENV_MATRIX
 
MX_GENSHADER_API const string ENV_RADIANCE
 
MX_GENSHADER_API const string ENV_RADIANCE_MIPS
 
MX_GENSHADER_API const string ENV_RADIANCE_SAMPLES
 
MX_GENSHADER_API const string ENV_IRRADIANCE
 
MX_GENSHADER_API const string ENV_LIGHT_INTENSITY
 
MX_GENSHADER_API const string ENV_PREFILTER_MIP
 
MX_GENSHADER_API const string REFRACTION_TWO_SIDED
 
MX_GENSHADER_API const string ALBEDO_TABLE
 
MX_GENSHADER_API const string ALBEDO_TABLE_SIZE
 
MX_GENSHADER_API const string AMB_OCC_MAP
 
MX_GENSHADER_API const string AMB_OCC_GAIN
 
MX_GENSHADER_API const string SHADOW_MAP
 
MX_GENSHADER_API const string SHADOW_MATRIX
 
MX_GENSHADER_API const string VERTEX_DATA_INSTANCE
 
MX_GENSHADER_API const string LIGHT_DATA_INSTANCE
 
MX_GENSHADER_API const string LIGHT_DATA_MAX_LIGHT_SOURCES
 
MX_GENSHADER_API const string VERTEX_INPUTS
 Variable blocks names.
 
MX_GENSHADER_API const string VERTEX_DATA
 
MX_GENSHADER_API const string PRIVATE_UNIFORMS
 
MX_GENSHADER_API const string PUBLIC_UNIFORMS
 
MX_GENSHADER_API const string LIGHT_DATA
 
MX_GENSHADER_API const string PIXEL_OUTPUTS
 
MX_GENSHADER_API const string DIR_N
 Variable names for lighting parameters.
 
MX_GENSHADER_API const string DIR_L
 
MX_GENSHADER_API const string DIR_V
 
MX_GENSHADER_API const string WORLD_POSITION
 
MX_GENSHADER_API const string OCCLUSION
 
MX_GENSHADER_API const string ATTR_TRANSPARENT
 Attribute names.
 
MX_GENSHADER_API const string USER_DATA_LIGHT_SHADERS
 User data names.
 
MX_GENSHADER_API const string USER_DATA_BINDING_CONTEXT
 
MX_GENSHADER_API const string VERTEX
 Identifier for vertex stage.
 

Detailed Description

Hardware shader generator base class.