Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/overlay/overlay_private.h
| Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | typedef struct OVERLAY_PassList { | ||||
| DRWPass *outlines_detect_ps; | DRWPass *outlines_detect_ps; | ||||
| DRWPass *outlines_resolve_ps; | DRWPass *outlines_resolve_ps; | ||||
| DRWPass *paint_color_ps; | DRWPass *paint_color_ps; | ||||
| DRWPass *paint_depth_ps; | DRWPass *paint_depth_ps; | ||||
| DRWPass *paint_overlay_ps; | DRWPass *paint_overlay_ps; | ||||
| DRWPass *particle_ps; | DRWPass *particle_ps; | ||||
| DRWPass *pointcloud_ps; | DRWPass *pointcloud_ps; | ||||
| DRWPass *sculpt_mask_ps; | DRWPass *sculpt_mask_ps; | ||||
| DRWPass *volume_ps; | |||||
| DRWPass *wireframe_ps; | DRWPass *wireframe_ps; | ||||
| DRWPass *wireframe_xray_ps; | DRWPass *wireframe_xray_ps; | ||||
| DRWPass *xray_fade_ps; | DRWPass *xray_fade_ps; | ||||
| } OVERLAY_PassList; | } OVERLAY_PassList; | ||||
| /* Data used by GLSL shader. To be used as UBO. */ | /* Data used by GLSL shader. To be used as UBO. */ | ||||
| typedef struct OVERLAY_ShadingData { | typedef struct OVERLAY_ShadingData { | ||||
| /** Grid */ | /** Grid */ | ||||
| ▲ Show 20 Lines • Show All 150 Lines • ▼ Show 20 Lines | typedef struct OVERLAY_PrivateData { | ||||
| DRWShadingGroup *paint_wire_grp; | DRWShadingGroup *paint_wire_grp; | ||||
| DRWShadingGroup *paint_wire_selected_grp; | DRWShadingGroup *paint_wire_selected_grp; | ||||
| DRWShadingGroup *paint_point_grp; | DRWShadingGroup *paint_point_grp; | ||||
| DRWShadingGroup *paint_face_grp; | DRWShadingGroup *paint_face_grp; | ||||
| DRWShadingGroup *particle_dots_grp; | DRWShadingGroup *particle_dots_grp; | ||||
| DRWShadingGroup *particle_shapes_grp; | DRWShadingGroup *particle_shapes_grp; | ||||
| DRWShadingGroup *pointcloud_dots_grp; | DRWShadingGroup *pointcloud_dots_grp; | ||||
| DRWShadingGroup *sculpt_mask_grp; | DRWShadingGroup *sculpt_mask_grp; | ||||
| DRWShadingGroup *volume_selection_surface_grp; | |||||
| DRWShadingGroup *wires_grp[2][2]; /* With and without coloring. */ | DRWShadingGroup *wires_grp[2][2]; /* With and without coloring. */ | ||||
| DRWShadingGroup *wires_all_grp[2][2]; /* With and without coloring. */ | DRWShadingGroup *wires_all_grp[2][2]; /* With and without coloring. */ | ||||
| DRWShadingGroup *wires_hair_grp[2][2]; /* With and without coloring. */ | DRWShadingGroup *wires_hair_grp[2][2]; /* With and without coloring. */ | ||||
| DRWShadingGroup *wires_sculpt_grp[2]; | DRWShadingGroup *wires_sculpt_grp[2]; | ||||
| DRWView *view_default; | DRWView *view_default; | ||||
| DRWView *view_wires; | DRWView *view_wires; | ||||
| DRWView *view_edit_faces; | DRWView *view_edit_faces; | ||||
| ▲ Show 20 Lines • Show All 210 Lines • ▼ Show 20 Lines | |||||
| void OVERLAY_edit_lattice_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_edit_lattice_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_lattice_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_lattice_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_edit_lattice_draw(OVERLAY_Data *vedata); | void OVERLAY_edit_lattice_draw(OVERLAY_Data *vedata); | ||||
| void OVERLAY_edit_text_cache_init(OVERLAY_Data *vedata); | void OVERLAY_edit_text_cache_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_edit_text_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_edit_text_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_edit_text_draw(OVERLAY_Data *vedata); | void OVERLAY_edit_text_draw(OVERLAY_Data *vedata); | ||||
| void OVERLAY_volume_cache_init(OVERLAY_Data *vedata); | |||||
| void OVERLAY_volume_cache_populate(OVERLAY_Data *vedata, Object *ob); | |||||
| void OVERLAY_volume_draw(OVERLAY_Data *vedata); | |||||
| void OVERLAY_edit_mesh_init(OVERLAY_Data *vedata); | void OVERLAY_edit_mesh_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_edit_mesh_cache_init(OVERLAY_Data *vedata); | void OVERLAY_edit_mesh_cache_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_edit_mesh_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_edit_mesh_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_edit_mesh_draw(OVERLAY_Data *vedata); | void OVERLAY_edit_mesh_draw(OVERLAY_Data *vedata); | ||||
| void OVERLAY_edit_particle_cache_init(OVERLAY_Data *vedata); | void OVERLAY_edit_particle_cache_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_edit_particle_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_edit_particle_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_edit_particle_draw(OVERLAY_Data *vedata); | void OVERLAY_edit_particle_draw(OVERLAY_Data *vedata); | ||||
| ▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines | |||||