Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache_extract.h
| Show First 20 Lines • Show All 211 Lines • ▼ Show 20 Lines | typedef struct MeshBatchCache { | ||||
| GPUBatch **surface_per_mat; | GPUBatch **surface_per_mat; | ||||
| /* arrays of bool uniform names (and value) that will be use to | /* arrays of bool uniform names (and value) that will be use to | ||||
| * set srgb conversion for auto attributes.*/ | * set srgb conversion for auto attributes.*/ | ||||
| char *auto_layer_names; | char *auto_layer_names; | ||||
| int *auto_layer_is_srgb; | int *auto_layer_is_srgb; | ||||
| int auto_layer_len; | int auto_layer_len; | ||||
| bool rebuild_auto_layer_names; | |||||
| DRWBatchFlag batch_requested; | DRWBatchFlag batch_requested; | ||||
| 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; | ||||
| Show All 35 Lines | |||||