Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_codegen.h
| Show All 27 Lines | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "GPU_material.h" | #include "GPU_material.h" | ||||
| #include "GPU_glew.h" | #include "GPU_glew.h" | ||||
| struct GPUNode; | struct GPUNode; | ||||
| struct GPUOutput; | struct GPUOutput; | ||||
| struct GPUShader; | struct GPUShader; | ||||
| struct GPUVertAttrLayers; | struct GPUVertAttrLayers; | ||||
| struct GSet; | |||||
| struct ListBase; | struct ListBase; | ||||
| struct PreviewImage; | struct PreviewImage; | ||||
| /* Pass Generation | /* Pass Generation | ||||
| * - Takes a list of nodes and a desired output, and makes a pass. This | * - Takes a list of nodes and a desired output, and makes a pass. This | ||||
| * will take ownership of the nodes and free them early if unused or | * will take ownership of the nodes and free them early if unused or | ||||
| * at the end if used. | * at the end if used. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | |||||
| const char *GPU_builtin_name(eGPUBuiltin builtin); | const char *GPU_builtin_name(eGPUBuiltin builtin); | ||||
| void gpu_material_add_node(struct GPUMaterial *material, struct GPUNode *node); | void gpu_material_add_node(struct GPUMaterial *material, struct GPUNode *node); | ||||
| struct GPUTexture **gpu_material_ramp_texture_row_set(GPUMaterial *mat, | struct GPUTexture **gpu_material_ramp_texture_row_set(GPUMaterial *mat, | ||||
| int size, | int size, | ||||
| float *pixels, | float *pixels, | ||||
| float *row); | float *row); | ||||
| struct GSet *gpu_material_used_glsl_files(struct GPUMaterial *material); | |||||
| #endif | #endif | ||||