Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_shader_interface.h
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | typedef enum { | ||||
| GPU_UNIFORM_NORMAL, /* mat3 NormalMatrix */ | GPU_UNIFORM_NORMAL, /* mat3 NormalMatrix */ | ||||
| GPU_UNIFORM_ORCO, /* vec4 OrcoTexCoFactors[] */ | GPU_UNIFORM_ORCO, /* vec4 OrcoTexCoFactors[] */ | ||||
| GPU_UNIFORM_CLIPPLANES, /* vec4 WorldClipPlanes[] */ | GPU_UNIFORM_CLIPPLANES, /* vec4 WorldClipPlanes[] */ | ||||
| GPU_UNIFORM_COLOR, /* vec4 color */ | GPU_UNIFORM_COLOR, /* vec4 color */ | ||||
| GPU_UNIFORM_BASE_INSTANCE, /* int baseInstance */ | GPU_UNIFORM_BASE_INSTANCE, /* int baseInstance */ | ||||
| GPU_UNIFORM_RESOURCE_CHUNK, /* int resourceChunk */ | GPU_UNIFORM_RESOURCE_CHUNK, /* int resourceChunk */ | ||||
| GPU_UNIFORM_RESOURCE_ID, /* int resourceId */ | |||||
| GPU_UNIFORM_CUSTOM, /* custom uniform, not one of the above built-ins */ | GPU_UNIFORM_CUSTOM, /* custom uniform, not one of the above built-ins */ | ||||
| GPU_NUM_UNIFORMS, /* Special value, denotes number of builtin uniforms. */ | GPU_NUM_UNIFORMS, /* Special value, denotes number of builtin uniforms. */ | ||||
| } GPUUniformBuiltin; | } GPUUniformBuiltin; | ||||
| typedef struct GPUShaderInput { | typedef struct GPUShaderInput { | ||||
| struct GPUShaderInput *next; | struct GPUShaderInput *next; | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||