Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_codegen.h
| Show All 19 Lines | |||||
| typedef struct GPUPass GPUPass; | typedef struct GPUPass GPUPass; | ||||
| /* Pass */ | /* Pass */ | ||||
| GPUPass *GPU_generate_pass(GPUMaterial *material, | GPUPass *GPU_generate_pass(GPUMaterial *material, | ||||
| struct GPUNodeGraph *graph, | struct GPUNodeGraph *graph, | ||||
| GPUCodegenCallbackFn finalize_source_cb, | GPUCodegenCallbackFn finalize_source_cb, | ||||
| void *thunk); | void *thunk, | ||||
| bool optimize_graph); | |||||
| GPUShader *GPU_pass_shader_get(GPUPass *pass); | GPUShader *GPU_pass_shader_get(GPUPass *pass); | ||||
| bool GPU_pass_compile(GPUPass *pass, const char *shname); | bool GPU_pass_compile(GPUPass *pass, const char *shname); | ||||
| void GPU_pass_release(GPUPass *pass); | void GPU_pass_release(GPUPass *pass); | ||||
| bool GPU_pass_should_optimize(GPUPass *pass); | |||||
| /* Module */ | /* Module */ | ||||
| void gpu_codegen_init(void); | void gpu_codegen_init(void); | ||||
| void gpu_codegen_exit(void); | void gpu_codegen_exit(void); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||