Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache_extract.h
| Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | struct { | ||||
| GPUVertBuf *edge_idx; /* extend */ | GPUVertBuf *edge_idx; /* extend */ | ||||
| GPUVertBuf *poly_idx; | GPUVertBuf *poly_idx; | ||||
| GPUVertBuf *fdot_idx; | GPUVertBuf *fdot_idx; | ||||
| } vbo; | } vbo; | ||||
| /* Index Buffers: | /* Index Buffers: | ||||
| * Only need to be updated when topology changes. */ | * Only need to be updated when topology changes. */ | ||||
| struct { | struct { | ||||
| /* Indices to vloops. */ | /* Indices to vloops. */ | ||||
| GPUIndexBuf *tris; /* Ordered per material. */ | GPUIndexBuf *tris; /* Ordered per material. */ | ||||
| GPUIndexBuf *lines; /* Loose edges last. */ | GPUIndexBuf *lines; /* Loose edges last. */ | ||||
| GPUIndexBuf *lines_loose; /* sub buffer of `lines` only containing the loose edges. */ | |||||
| GPUIndexBuf *points; | GPUIndexBuf *points; | ||||
| GPUIndexBuf *fdots; | GPUIndexBuf *fdots; | ||||
| /* 3D overlays. */ | /* 3D overlays. */ | ||||
| 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; | ||||
| ▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines | |||||