Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_material.h
| Show First 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | GPUNodeLink *GPU_uniformbuffer_link_out(struct GPUMaterial *mat, | ||||
| struct bNode *node, | struct bNode *node, | ||||
| struct GPUNodeStack *stack, | struct GPUNodeStack *stack, | ||||
| const int index); | const int index); | ||||
| void GPU_material_output_link(GPUMaterial *material, GPUNodeLink *link); | void GPU_material_output_link(GPUMaterial *material, GPUNodeLink *link); | ||||
| void GPU_material_sss_profile_create(GPUMaterial *material, | void GPU_material_sss_profile_create(GPUMaterial *material, | ||||
| float radii[3], | float radii[3], | ||||
| short *falloff_type, | const short *falloff_type, | ||||
| float *sharpness); | const float *sharpness); | ||||
| struct GPUUniformBuffer *GPU_material_sss_profile_get(GPUMaterial *material, | struct GPUUniformBuffer *GPU_material_sss_profile_get(GPUMaterial *material, | ||||
| int sample_len, | int sample_len, | ||||
| struct GPUTexture **tex_profile); | struct GPUTexture **tex_profile); | ||||
| /* High level functions to create and use GPU materials */ | /* High level functions to create and use GPU materials */ | ||||
| GPUMaterial *GPU_material_from_nodetree_find(struct ListBase *gpumaterials, | GPUMaterial *GPU_material_from_nodetree_find(struct ListBase *gpumaterials, | ||||
| const void *engine_type, | const void *engine_type, | ||||
| int options); | int options); | ||||
| ▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines | |||||