Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache_extract.h
| Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | struct { | ||||
| GPUIndexBuf *lines_paint_mask; /* no loose edges. */ | GPUIndexBuf *lines_paint_mask; /* no loose edges. */ | ||||
| GPUIndexBuf *lines_adjacency; | GPUIndexBuf *lines_adjacency; | ||||
| /* Uv overlays. (visibility can differ from 3D view) */ | /* Uv overlays. (visibility can differ from 3D view) */ | ||||
| GPUIndexBuf *edituv_tris; | GPUIndexBuf *edituv_tris; | ||||
| GPUIndexBuf *edituv_lines; | GPUIndexBuf *edituv_lines; | ||||
| GPUIndexBuf *edituv_points; | GPUIndexBuf *edituv_points; | ||||
| GPUIndexBuf *edituv_fdots; | GPUIndexBuf *edituv_fdots; | ||||
| } ibo; | } ibo; | ||||
| /* Index buffer per material. These are subranges of `ibo.tris` */ | |||||
fclem: Specify these are subranges of `ibo.tris`. | |||||
| GPUIndexBuf **tris_per_mat; | |||||
| } MeshBufferCache; | } MeshBufferCache; | ||||
| typedef enum DRWBatchFlag { | typedef enum DRWBatchFlag { | ||||
| MBC_SURFACE = (1 << 0), | MBC_SURFACE = (1 << 0), | ||||
| MBC_SURFACE_WEIGHTS = (1 << 1), | MBC_SURFACE_WEIGHTS = (1 << 1), | ||||
| MBC_EDIT_TRIANGLES = (1 << 2), | MBC_EDIT_TRIANGLES = (1 << 2), | ||||
| MBC_EDIT_VERTICES = (1 << 3), | MBC_EDIT_VERTICES = (1 << 3), | ||||
| MBC_EDIT_EDGES = (1 << 4), | MBC_EDIT_EDGES = (1 << 4), | ||||
| ▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines | |||||
Specify these are subranges of ibo.tris.