Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_buffers.h
| Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Lines | |||||
| void GPU_interleaved_attrib_unbind(void); | void GPU_interleaved_attrib_unbind(void); | ||||
| /* Buffers for non-DerivedMesh drawing */ | /* Buffers for non-DerivedMesh drawing */ | ||||
| typedef struct GPU_PBVH_Buffers GPU_PBVH_Buffers; | typedef struct GPU_PBVH_Buffers GPU_PBVH_Buffers; | ||||
| /* build */ | /* build */ | ||||
| GPU_PBVH_Buffers *GPU_build_mesh_pbvh_buffers( | GPU_PBVH_Buffers *GPU_build_mesh_pbvh_buffers( | ||||
| const int (*face_vert_indices)[4], | const int (*face_vert_indices)[4], | ||||
| const struct MFace *mface, const struct MVert *mvert, | const struct MPoly *mpoly, const struct MLoop *mloop, const struct MLoopTri *looptri, | ||||
| const int *face_indices, int totface); | const struct MVert *verts, | ||||
| const int *face_indices, int totprim); | |||||
| GPU_PBVH_Buffers *GPU_build_grid_pbvh_buffers(int *grid_indices, int totgrid, | GPU_PBVH_Buffers *GPU_build_grid_pbvh_buffers(int *grid_indices, int totgrid, | ||||
| unsigned int **grid_hidden, int gridsize); | unsigned int **grid_hidden, int gridsize); | ||||
| GPU_PBVH_Buffers *GPU_build_bmesh_pbvh_buffers(int smooth_shading); | GPU_PBVH_Buffers *GPU_build_bmesh_pbvh_buffers(int smooth_shading); | ||||
| /* update */ | /* update */ | ||||
| Show All 31 Lines | |||||