Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/overlay/overlay_private.h
| Show First 20 Lines • Show All 110 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 *sculpt_curves_selection_ps; | |||||
| DRWPass *volume_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. */ | /* Data used by GLSL shader. */ | ||||
| typedef struct OVERLAY_ShadingData { | typedef struct OVERLAY_ShadingData { | ||||
| ▲ Show 20 Lines • Show All 147 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 *sculpt_curves_selection_grp; | |||||
| DRWShadingGroup *volume_selection_surface_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; | ||||
| ▲ Show 20 Lines • Show All 374 Lines • ▼ Show 20 Lines | |||||
| void OVERLAY_particle_cache_init(OVERLAY_Data *vedata); | void OVERLAY_particle_cache_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_particle_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_particle_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_particle_draw(OVERLAY_Data *vedata); | void OVERLAY_particle_draw(OVERLAY_Data *vedata); | ||||
| void OVERLAY_sculpt_cache_init(OVERLAY_Data *vedata); | void OVERLAY_sculpt_cache_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_sculpt_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_sculpt_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_sculpt_draw(OVERLAY_Data *vedata); | void OVERLAY_sculpt_draw(OVERLAY_Data *vedata); | ||||
| void OVERLAY_sculpt_curves_cache_init(OVERLAY_Data *vedata); | |||||
| void OVERLAY_sculpt_curves_cache_populate(OVERLAY_Data *vedata, Object *ob); | |||||
| void OVERLAY_sculpt_curves_draw(OVERLAY_Data *vedata); | |||||
| void OVERLAY_wireframe_init(OVERLAY_Data *vedata); | void OVERLAY_wireframe_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_wireframe_cache_init(OVERLAY_Data *vedata); | void OVERLAY_wireframe_cache_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_wireframe_cache_populate(OVERLAY_Data *vedata, | void OVERLAY_wireframe_cache_populate(OVERLAY_Data *vedata, | ||||
| Object *ob, | Object *ob, | ||||
| OVERLAY_DupliData *dupli, | OVERLAY_DupliData *dupli, | ||||
| bool init_dupli); | bool init_dupli); | ||||
| void OVERLAY_wireframe_draw(OVERLAY_Data *vedata); | void OVERLAY_wireframe_draw(OVERLAY_Data *vedata); | ||||
| void OVERLAY_wireframe_in_front_draw(OVERLAY_Data *vedata); | void OVERLAY_wireframe_in_front_draw(OVERLAY_Data *vedata); | ||||
| ▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
| GPUShader *OVERLAY_shader_paint_point(void); | GPUShader *OVERLAY_shader_paint_point(void); | ||||
| GPUShader *OVERLAY_shader_paint_texture(void); | GPUShader *OVERLAY_shader_paint_texture(void); | ||||
| GPUShader *OVERLAY_shader_paint_vertcol(void); | GPUShader *OVERLAY_shader_paint_vertcol(void); | ||||
| GPUShader *OVERLAY_shader_paint_weight(bool shading); | GPUShader *OVERLAY_shader_paint_weight(bool shading); | ||||
| GPUShader *OVERLAY_shader_paint_wire(void); | GPUShader *OVERLAY_shader_paint_wire(void); | ||||
| GPUShader *OVERLAY_shader_particle_dot(void); | GPUShader *OVERLAY_shader_particle_dot(void); | ||||
| GPUShader *OVERLAY_shader_particle_shape(void); | GPUShader *OVERLAY_shader_particle_shape(void); | ||||
| GPUShader *OVERLAY_shader_sculpt_mask(void); | GPUShader *OVERLAY_shader_sculpt_mask(void); | ||||
| GPUShader *OVERLAY_shader_sculpt_curves_selection(void); | |||||
| GPUShader *OVERLAY_shader_volume_velocity(bool use_needle, bool use_mac); | GPUShader *OVERLAY_shader_volume_velocity(bool use_needle, bool use_mac); | ||||
| GPUShader *OVERLAY_shader_volume_gridlines(bool color_with_flags, bool color_range); | GPUShader *OVERLAY_shader_volume_gridlines(bool color_with_flags, bool color_range); | ||||
| GPUShader *OVERLAY_shader_wireframe(bool custom_bias); | GPUShader *OVERLAY_shader_wireframe(bool custom_bias); | ||||
| GPUShader *OVERLAY_shader_wireframe_select(void); | GPUShader *OVERLAY_shader_wireframe_select(void); | ||||
| GPUShader *OVERLAY_shader_xray_fade(void); | GPUShader *OVERLAY_shader_xray_fade(void); | ||||
| OVERLAY_InstanceFormats *OVERLAY_shader_instance_formats_get(void); | OVERLAY_InstanceFormats *OVERLAY_shader_instance_formats_get(void); | ||||
| void OVERLAY_shader_free(void); | void OVERLAY_shader_free(void); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||