Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/overlay/overlay_private.hh
| Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | typedef enum OVERLAY_UVLineStyle { | ||||
| OVERLAY_UV_LINE_STYLE_SHADOW = 4, | OVERLAY_UV_LINE_STYLE_SHADOW = 4, | ||||
| } OVERLAY_UVLineStyle; | } OVERLAY_UVLineStyle; | ||||
| typedef struct OVERLAY_PassList { | typedef struct OVERLAY_PassList { | ||||
| DRWPass *antialiasing_ps; | DRWPass *antialiasing_ps; | ||||
| DRWPass *armature_ps[2]; | DRWPass *armature_ps[2]; | ||||
| DRWPass *armature_bone_select_ps; | DRWPass *armature_bone_select_ps; | ||||
| DRWPass *armature_transp_ps[2]; | DRWPass *armature_transp_ps[2]; | ||||
| DRWPass *attribute_ps; | |||||
| DRWPass *background_ps; | DRWPass *background_ps; | ||||
| DRWPass *clipping_frustum_ps; | DRWPass *clipping_frustum_ps; | ||||
| DRWPass *edit_curve_wire_ps[2]; | DRWPass *edit_curve_wire_ps[2]; | ||||
| DRWPass *edit_curve_handle_ps; | DRWPass *edit_curve_handle_ps; | ||||
| DRWPass *edit_gpencil_ps; | DRWPass *edit_gpencil_ps; | ||||
| DRWPass *edit_gpencil_gizmos_ps; | DRWPass *edit_gpencil_gizmos_ps; | ||||
| DRWPass *edit_gpencil_curve_ps; | DRWPass *edit_gpencil_curve_ps; | ||||
| DRWPass *edit_lattice_ps; | DRWPass *edit_lattice_ps; | ||||
| ▲ Show 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | typedef struct OVERLAY_PrivateData { | ||||
| 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 *sculpt_curves_selection_grp; | ||||
| DRWShadingGroup *viewer_attribute_curve_grp; | |||||
| DRWShadingGroup *viewer_attribute_curves_grp; | |||||
| DRWShadingGroup *viewer_attribute_mesh_grp; | |||||
| DRWShadingGroup *viewer_attribute_pointcloud_grp; | |||||
| DRWShadingGroup *viewer_attribute_instance_grp; | |||||
| DRWShadingGroup *viewer_attribute_instance_pointcloud_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 378 Lines • ▼ Show 20 Lines | |||||
| 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_init(OVERLAY_Data *vedata); | ||||
| void OVERLAY_sculpt_curves_cache_populate(OVERLAY_Data *vedata, Object *ob); | void OVERLAY_sculpt_curves_cache_populate(OVERLAY_Data *vedata, Object *ob); | ||||
| void OVERLAY_sculpt_curves_draw(OVERLAY_Data *vedata); | void OVERLAY_sculpt_curves_draw(OVERLAY_Data *vedata); | ||||
| void OVERLAY_viewer_attribute_cache_init(OVERLAY_Data *vedata); | |||||
| void OVERLAY_viewer_attribute_cache_populate(OVERLAY_Data *vedata, Object *object); | |||||
| void OVERLAY_viewer_attribute_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 51 Lines • ▼ Show 20 Lines | |||||
| GPUShader *OVERLAY_shader_gpencil_canvas(void); | GPUShader *OVERLAY_shader_gpencil_canvas(void); | ||||
| GPUShader *OVERLAY_shader_grid(void); | GPUShader *OVERLAY_shader_grid(void); | ||||
| GPUShader *OVERLAY_shader_grid_background(void); | GPUShader *OVERLAY_shader_grid_background(void); | ||||
| GPUShader *OVERLAY_shader_grid_image(void); | GPUShader *OVERLAY_shader_grid_image(void); | ||||
| GPUShader *OVERLAY_shader_image(void); | GPUShader *OVERLAY_shader_image(void); | ||||
| GPUShader *OVERLAY_shader_motion_path_line(void); | GPUShader *OVERLAY_shader_motion_path_line(void); | ||||
| GPUShader *OVERLAY_shader_motion_path_vert(void); | GPUShader *OVERLAY_shader_motion_path_vert(void); | ||||
| GPUShader *OVERLAY_shader_uniform_color(void); | GPUShader *OVERLAY_shader_uniform_color(void); | ||||
| GPUShader *OVERLAY_shader_uniform_color_pointcloud(void); | |||||
| GPUShader *OVERLAY_shader_outline_prepass(bool use_wire); | GPUShader *OVERLAY_shader_outline_prepass(bool use_wire); | ||||
| GPUShader *OVERLAY_shader_outline_prepass_curves(void); | GPUShader *OVERLAY_shader_outline_prepass_curves(void); | ||||
| GPUShader *OVERLAY_shader_outline_prepass_gpencil(void); | GPUShader *OVERLAY_shader_outline_prepass_gpencil(void); | ||||
| GPUShader *OVERLAY_shader_outline_prepass_pointcloud(void); | GPUShader *OVERLAY_shader_outline_prepass_pointcloud(void); | ||||
| GPUShader *OVERLAY_shader_extra_grid(void); | GPUShader *OVERLAY_shader_extra_grid(void); | ||||
| GPUShader *OVERLAY_shader_outline_detect(void); | GPUShader *OVERLAY_shader_outline_detect(void); | ||||
| GPUShader *OVERLAY_shader_paint_face(void); | GPUShader *OVERLAY_shader_paint_face(void); | ||||
| 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_sculpt_curves_selection(void); | ||||
| GPUShader *OVERLAY_shader_viewer_attribute_curve(void); | |||||
| GPUShader *OVERLAY_shader_viewer_attribute_curves(void); | |||||
| GPUShader *OVERLAY_shader_viewer_attribute_mesh(void); | |||||
| GPUShader *OVERLAY_shader_viewer_attribute_pointcloud(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 | ||||