Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_codegen.h
| Context not available. | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "GPU_material.h" | #include "GPU_material.h" | ||||
| #include "GL/glew.h" | #include "GPU_glew.h" | ||||
| struct ListBase; | struct ListBase; | ||||
| struct GPUShader; | struct GPUShader; | ||||
| Context not available. | |||||
| int type; | int type; | ||||
| int users; | int users; | ||||
| GPUTexture *dynamictex; | struct GPUTexture *dynamictex; | ||||
| GPUBuiltin builtin; | GPUBuiltin builtin; | ||||
| GPUOpenGLBuiltin oglbuiltin; | GPUOpenGLBuiltin oglbuiltin; | ||||
| Context not available. | |||||
| float *dynamicvec; /* vector data in case it is dynamic */ | float *dynamicvec; /* vector data in case it is dynamic */ | ||||
| int dynamictype; /* origin of the dynamic uniform (GPUDynamicType) */ | int dynamictype; /* origin of the dynamic uniform (GPUDynamicType) */ | ||||
| void *dynamicdata; /* data source of the dynamic uniform */ | void *dynamicdata; /* data source of the dynamic uniform */ | ||||
| GPUTexture *tex; /* input texture, only set at runtime */ | struct GPUTexture *tex; /* input texture, only set at runtime */ | ||||
| int shaderloc; /* id from opengl */ | int shaderloc; /* id from opengl */ | ||||
| char shadername[32]; /* name in shader */ | char shadername[32]; /* name in shader */ | ||||
| Context not available. | |||||
| void GPU_pass_free(GPUPass *pass); | void GPU_pass_free(GPUPass *pass); | ||||
| void GPU_codegen_init(void); | void gpu_codegen_init(void); | ||||
| void GPU_codegen_exit(void); | void gpu_codegen_exit(void); | ||||
| /* Material calls */ | /* Material calls */ | ||||
| Context not available. | |||||