Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_draw.h
| Show All 33 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct ImBuf; | struct ImBuf; | ||||
| struct Image; | struct Image; | ||||
| struct ImageUser; | struct ImageUser; | ||||
| struct LocalViewInfo; | |||||
| struct MTexPoly; | struct MTexPoly; | ||||
| struct Object; | struct Object; | ||||
| struct Scene; | struct Scene; | ||||
| struct View3D; | struct View3D; | ||||
| struct RegionView3D; | struct RegionView3D; | ||||
| struct SmokeModifierData; | struct SmokeModifierData; | ||||
| struct DupliObject; | struct DupliObject; | ||||
| ▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
| void GPU_clear_tpage(bool force); | void GPU_clear_tpage(bool force); | ||||
| /* Lights | /* Lights | ||||
| * - returns how many lights were enabled | * - returns how many lights were enabled | ||||
| * - this affects fixed functions materials and texface, not glsl */ | * - this affects fixed functions materials and texface, not glsl */ | ||||
| int GPU_default_lights(void); | int GPU_default_lights(void); | ||||
| int GPU_scene_object_lights( | int GPU_scene_object_lights( | ||||
| struct Scene *scene, struct Object *ob, | struct Scene *scene, struct Object *ob, struct LocalViewInfo *localview, | ||||
| int lay, float viewmat[4][4], int ortho); | int lay, float viewmat[4][4], int ortho); | ||||
| /* Text render | /* Text render | ||||
| * - based on moving uv coordinates */ | * - based on moving uv coordinates */ | ||||
| void GPU_render_text( | void GPU_render_text( | ||||
| struct MTexPoly *mtexpoly, int mode, | struct MTexPoly *mtexpoly, int mode, | ||||
| const char *textstr, int textlen, unsigned int *col, | const char *textstr, int textlen, unsigned int *col, | ||||
| ▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines | |||||