Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_material.h
| Show First 20 Lines • Show All 329 Lines • ▼ Show 20 Lines | |||||
| ListBase GPU_material_attributes(GPUMaterial *material); | ListBase GPU_material_attributes(GPUMaterial *material); | ||||
| ListBase GPU_material_textures(GPUMaterial *material); | ListBase GPU_material_textures(GPUMaterial *material); | ||||
| typedef struct GPUUniformAttr { | typedef struct GPUUniformAttr { | ||||
| struct GPUUniformAttr *next, *prev; | struct GPUUniformAttr *next, *prev; | ||||
| /* Meaningful part of the attribute set key. */ | /* Meaningful part of the attribute set key. */ | ||||
| char name[64]; /* MAX_CUSTOMDATA_LAYER_NAME */ | char name[64]; /* MAX_CUSTOMDATA_LAYER_NAME */ | ||||
| /** Escaped name with [""]. */ | |||||
| char name_id_prop[64 * 2 + 4]; | |||||
| /** Hash of name[64] + use_dupli. */ | /** Hash of name[64] + use_dupli. */ | ||||
| uint32_t hash_code; | uint32_t hash_code; | ||||
| bool use_dupli; | bool use_dupli; | ||||
| /* Helper fields used by code generation. */ | /* Helper fields used by code generation. */ | ||||
| short id; | short id; | ||||
| int users; | int users; | ||||
| } GPUUniformAttr; | } GPUUniformAttr; | ||||
| Show All 27 Lines | |||||