Program Listing for File register_locations_vertex_shader.h

Return to documentation for file (rootex/core/renderer/shaders/register_locations_vertex_shader.h)

#define CONCAT(a, b) a##b

#define PER_CAMERA_CHANGE_VS_CPP 1
#define PER_FRAME_VS_CPP 2
#define PER_OBJECT_VS_CPP 3
#define BONES_VS_CPP 4

#define PER_OBJECT_VS_HLSL CONCAT(b, PER_OBJECT_VS_CPP)
#define PER_FRAME_VS_HLSL CONCAT(b, PER_FRAME_VS_CPP)
#define PER_CAMERA_CHANGE_VS_HLSL CONCAT(b, PER_CAMERA_CHANGE_VS_CPP)
#define BONES_VS_HLSL CONCAT(b, BONES_VS_CPP)

#define MAX_BONES 100

#define CUSTOM_TEXTURE_0_VS_CPP 0
#define CUSTOM_TEXTURE_0_VS_HLSL CONCAT(t, CUSTOM_TEXTURE_0_VS_CPP)
#define CUSTOM_TEXTURE_1_VS_CPP 1
#define CUSTOM_TEXTURE_1_VS_HLSL CONCAT(t, CUSTOM_TEXTURE_1_VS_CPP)
#define CUSTOM_TEXTURE_2_VS_CPP 2
#define CUSTOM_TEXTURE_2_VS_HLSL CONCAT(t, CUSTOM_TEXTURE_2_VS_CPP)
#define CUSTOM_TEXTURE_3_VS_CPP 3
#define CUSTOM_TEXTURE_3_VS_HLSL CONCAT(t, CUSTOM_TEXTURE_3_VS_CPP)
#define CUSTOM_TEXTURE_4_VS_CPP 4
#define CUSTOM_TEXTURE_4_VS_HLSL CONCAT(t, CUSTOM_TEXTURE_4_VS_CPP)