Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache_extract.h
| Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | struct { | ||||
| GPUBatch *wire_edges; /* Individual edges with face normals. */ | GPUBatch *wire_edges; /* Individual edges with face normals. */ | ||||
| GPUBatch *wire_loops; /* Loops around faces. no edges between selected faces */ | GPUBatch *wire_loops; /* Loops around faces. no edges between selected faces */ | ||||
| GPUBatch *wire_loops_uvs; /* Same as wire_loops but only has uvs. */ | GPUBatch *wire_loops_uvs; /* Same as wire_loops but only has uvs. */ | ||||
| } batch; | } batch; | ||||
| GPUBatch **surface_per_mat; | GPUBatch **surface_per_mat; | ||||
| DRWBatchFlag batch_requested; | DRWBatchFlag batch_requested; | ||||
| DRWBatchFlag batch_prepared; | |||||
| DRWBatchFlag batch_ready; | DRWBatchFlag batch_ready; | ||||
| /* settings to determine if cache is invalid */ | /* settings to determine if cache is invalid */ | ||||
| int edge_len; | int edge_len; | ||||
| int tri_len; | int tri_len; | ||||
| int poly_len; | int poly_len; | ||||
| int vert_len; | int vert_len; | ||||
| int mat_len; | int mat_len; | ||||
| Show All 38 Lines | |||||