Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache_extract.h
| Show First 20 Lines • Show All 280 Lines • ▼ Show 20 Lines | |||||
| } MeshBatchCache; | } MeshBatchCache; | ||||
| #define MBC_BATCH_LEN (sizeof(((MeshBatchCache){0}).batch) / sizeof(void *)) | #define MBC_BATCH_LEN (sizeof(((MeshBatchCache){0}).batch) / sizeof(void *)) | ||||
| #define MBC_VBO_LEN (sizeof(((MeshBufferCache){0}).vbo) / sizeof(void *)) | #define MBC_VBO_LEN (sizeof(((MeshBufferCache){0}).vbo) / sizeof(void *)) | ||||
| #define MBC_IBO_LEN (sizeof(((MeshBufferCache){0}).ibo) / sizeof(void *)) | #define MBC_IBO_LEN (sizeof(((MeshBufferCache){0}).ibo) / sizeof(void *)) | ||||
| void mesh_buffer_cache_create_requested(struct TaskGraph *task_graph, | void mesh_buffer_cache_create_requested(struct TaskGraph *task_graph, | ||||
| MeshBatchCache *cache, | MeshBatchCache *cache, | ||||
| MeshBufferCache mbc, | MeshBufferCache *mbc, | ||||
| MeshBufferExtractionCache *extraction_cache, | MeshBufferExtractionCache *extraction_cache, | ||||
| Mesh *me, | Mesh *me, | ||||
| const bool is_editmode, | const bool is_editmode, | ||||
| const bool is_paint_mode, | const bool is_paint_mode, | ||||
| const bool is_mode_active, | const bool is_mode_active, | ||||
| const float obmat[4][4], | const float obmat[4][4], | ||||
| const bool do_final, | const bool do_final, | ||||
| const bool do_uvedit, | const bool do_uvedit, | ||||
| const bool use_subsurf_fdots, | const bool use_subsurf_fdots, | ||||
| const DRW_MeshCDMask *cd_layer_used, | const DRW_MeshCDMask *cd_layer_used, | ||||
| const Scene *scene, | const Scene *scene, | ||||
| const ToolSettings *ts, | const ToolSettings *ts, | ||||
| const bool use_hide); | const bool use_hide); | ||||