Blender
V3.3
|
#include "DRW_render.h"
#include "GPU_shader.h"
#include "UI_resources.h"
#include "overlay_private.h"
Go to the source code of this file.
Classes | |
struct | OVERLAY_Shaders |
Typedefs | |
typedef struct OVERLAY_Shaders | OVERLAY_Shaders |
Variables | |
struct { | |
OVERLAY_Shaders sh_data [GPU_SHADER_CFG_LEN] | |
} | e_data = {{{NULL}}} |
static OVERLAY_InstanceFormats | g_formats = {NULL} |
typedef struct OVERLAY_Shaders OVERLAY_Shaders |
Definition at line 111 of file overlay_shader.c.
References OVERLAY_Shaders::antialiasing, e_data, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_antialiasing_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 259 of file overlay_shader.c.
References OVERLAY_Shaders::armature_dof_solid, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 248 of file overlay_shader.c.
References OVERLAY_Shaders::armature_dof_wire, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 220 of file overlay_shader.c.
References OVERLAY_Shaders::armature_envelope_outline, OVERLAY_Shaders::armature_envelope_solid, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 192 of file overlay_shader.c.
References OVERLAY_Shaders::armature_shape_outline, OVERLAY_Shaders::armature_shape_solid, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 209 of file overlay_shader.c.
References OVERLAY_Shaders::armature_shape_wire, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 175 of file overlay_shader.c.
References OVERLAY_Shaders::armature_sphere_outline, OVERLAY_Shaders::armature_sphere_solid, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), OVERLAY_metaball_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 237 of file overlay_shader.c.
References OVERLAY_Shaders::armature_stick, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 270 of file overlay_shader.c.
References OVERLAY_Shaders::armature_wire, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 120 of file overlay_shader.c.
References OVERLAY_Shaders::background, e_data, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_background_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 129 of file overlay_shader.c.
References OVERLAY_Shaders::clipbound, e_data, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_background_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 138 of file overlay_shader.c.
References OVERLAY_Shaders::depth_only, DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), OVERLAY_paint_cache_init(), OVERLAY_volume_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 281 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_curve_handle, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curve_cache_init(), OVERLAY_edit_gpencil_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 292 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_curve_point, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curve_cache_init(), OVERLAY_edit_curves_cache_init(), OVERLAY_edit_gpencil_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 303 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_curve_wire, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curve_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 314 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_gpencil_guide_point, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_gpencil_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 326 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_gpencil_point, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_gpencil_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 337 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_gpencil_wire, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_gpencil_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 348 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_lattice_point, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_lattice_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 359 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_lattice_wire, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_lattice_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 403 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_analysis, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 160 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_edge, OVERLAY_Shaders::edit_mesh_edge_flat, GPU_shader_create_from_info_name(), NULL, sh, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 370 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_face, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 381 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_facedot, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 392 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_normals, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 414 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_skin_root, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 149 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_vert, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 437 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_particle_point, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_particle_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 425 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_particle_strand, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_particle_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 927 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_edges_for_edge_select, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init().
Definition at line 918 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_edges, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 946 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_face_dots, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 937 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_faces, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 595 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_mask_image, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 585 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_stencil_image, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 976 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_stretching_angle, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 965 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_stretching_area, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 987 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_tiled_image_borders, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 955 of file overlay_shader.c.
References e_data, OVERLAY_Shaders::edit_uv_verts, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 448 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra, OVERLAY_Shaders::extra_select, GPU_shader_create_from_info_name(), if(), sh, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 461 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_lightprobe_grid, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 472 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_groundline, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 512 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_loose_point, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 523 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_point, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 483 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_wire, OVERLAY_Shaders::extra_wire_select, GPU_shader_create_from_info_name(), if(), NULL, sh, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 534 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::facing, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_facing_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 1069 of file overlay_shader.c.
References ARRAY_SIZE, DRW_SHADER_FREE_SAFE, e_data, g_formats, MEM_SAFE_FREE, and sh_data.
Referenced by OVERLAY_engine_free(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 545 of file overlay_shader.c.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::gpencil_canvas, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_gpencil_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 558 of file overlay_shader.c.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::grid, and sh_data.
Referenced by OVERLAY_grid_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 567 of file overlay_shader.c.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::grid_background, and sh_data.
Referenced by OVERLAY_grid_cache_init().
Definition at line 576 of file overlay_shader.c.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::grid_image, and sh_data.
Referenced by OVERLAY_grid_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 604 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::image, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_image_camera_cache_populate(), OVERLAY_image_empty_cache_populate(), and blender::draw::test_overlay_glsl_shaders().
OVERLAY_InstanceFormats* OVERLAY_shader_instance_formats_get | ( | void | ) |
Definition at line 1001 of file overlay_shader.c.
References DRW_shgroup_instance_format, g_formats, and OVERLAY_InstanceFormats::pos.
Referenced by custom_bone_instance_shgroup(), OVERLAY_armature_cache_init(), OVERLAY_extra_cache_init(), and OVERLAY_metaball_cache_init().
Definition at line 616 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::motion_path_line, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_motion_path_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 627 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::motion_path_vert, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_motion_path_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 691 of file overlay_shader.c.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_detect, and sh_data.
Referenced by OVERLAY_outline_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 638 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_prepass, OVERLAY_Shaders::outline_prepass_wire, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_outline_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 655 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_prepass_curves, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_outline_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 667 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_prepass_gpencil, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_outline_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 679 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_prepass_pointcloud, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_outline_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 700 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_face, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 712 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_point, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 724 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_texture, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 736 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_vertcol, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 748 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_weight, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 764 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_wire, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 776 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::particle_dot, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_particle_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 787 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::particle_shape, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_particle_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 809 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::sculpt_curves_selection, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_sculpt_curves_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 798 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::sculpt_mask, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_sculpt_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 821 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::uniform_color.
Referenced by OVERLAY_armature_cache_init(), OVERLAY_edit_text_cache_init(), OVERLAY_fade_cache_init(), OVERLAY_mode_transfer_cache_populate(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 856 of file overlay_shader.c.
References e_data, GPU_shader_create_from_info_name(), sh_data, OVERLAY_Shaders::volume_gridlines_flags_sh, OVERLAY_Shaders::volume_gridlines_range_sh, and OVERLAY_Shaders::volume_gridlines_sh.
Referenced by OVERLAY_volume_extra().
Definition at line 832 of file overlay_shader.c.
References e_data, GPU_shader_create_from_info_name(), sh_data, OVERLAY_Shaders::volume_velocity_mac_sh, OVERLAY_Shaders::volume_velocity_needle_sh, and OVERLAY_Shaders::volume_velocity_sh.
Referenced by OVERLAY_volume_extra(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 892 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::wireframe.
Referenced by OVERLAY_wireframe_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 881 of file overlay_shader.c.
References DRW_context_state_get(), e_data, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::wireframe_select.
Referenced by OVERLAY_wireframe_cache_init(), and blender::draw::test_overlay_glsl_shaders().
Definition at line 905 of file overlay_shader.c.
References e_data, GPU_shader_create_from_info_name(), sh_data, and OVERLAY_Shaders::xray_fade.
Referenced by OVERLAY_antialiasing_cache_init(), and blender::draw::test_overlay_glsl_shaders().
struct { ... } e_data |
Referenced by OVERLAY_shader_antialiasing(), OVERLAY_shader_armature_degrees_of_freedom_solid(), OVERLAY_shader_armature_degrees_of_freedom_wire(), OVERLAY_shader_armature_envelope(), OVERLAY_shader_armature_shape(), OVERLAY_shader_armature_shape_wire(), OVERLAY_shader_armature_sphere(), OVERLAY_shader_armature_stick(), OVERLAY_shader_armature_wire(), OVERLAY_shader_background(), OVERLAY_shader_clipbound(), OVERLAY_shader_depth_only(), OVERLAY_shader_edit_curve_handle(), OVERLAY_shader_edit_curve_point(), OVERLAY_shader_edit_curve_wire(), OVERLAY_shader_edit_gpencil_guide_point(), OVERLAY_shader_edit_gpencil_point(), OVERLAY_shader_edit_gpencil_wire(), OVERLAY_shader_edit_lattice_point(), OVERLAY_shader_edit_lattice_wire(), OVERLAY_shader_edit_mesh_analysis(), OVERLAY_shader_edit_mesh_edge(), OVERLAY_shader_edit_mesh_face(), OVERLAY_shader_edit_mesh_facedot(), OVERLAY_shader_edit_mesh_normal(), OVERLAY_shader_edit_mesh_skin_root(), OVERLAY_shader_edit_mesh_vert(), OVERLAY_shader_edit_particle_point(), OVERLAY_shader_edit_particle_strand(), OVERLAY_shader_edit_uv_edges_for_edge_select_get(), OVERLAY_shader_edit_uv_edges_get(), OVERLAY_shader_edit_uv_face_dots_get(), OVERLAY_shader_edit_uv_face_get(), OVERLAY_shader_edit_uv_mask_image(), OVERLAY_shader_edit_uv_stencil_image(), OVERLAY_shader_edit_uv_stretching_angle_get(), OVERLAY_shader_edit_uv_stretching_area_get(), OVERLAY_shader_edit_uv_tiled_image_borders_get(), OVERLAY_shader_edit_uv_verts_get(), OVERLAY_shader_extra(), OVERLAY_shader_extra_grid(), OVERLAY_shader_extra_groundline(), OVERLAY_shader_extra_loose_point(), OVERLAY_shader_extra_point(), OVERLAY_shader_extra_wire(), OVERLAY_shader_facing(), OVERLAY_shader_free(), OVERLAY_shader_gpencil_canvas(), OVERLAY_shader_grid(), OVERLAY_shader_grid_background(), OVERLAY_shader_grid_image(), OVERLAY_shader_image(), OVERLAY_shader_motion_path_line(), OVERLAY_shader_motion_path_vert(), OVERLAY_shader_outline_detect(), OVERLAY_shader_outline_prepass(), OVERLAY_shader_outline_prepass_curves(), OVERLAY_shader_outline_prepass_gpencil(), OVERLAY_shader_outline_prepass_pointcloud(), OVERLAY_shader_paint_face(), OVERLAY_shader_paint_point(), OVERLAY_shader_paint_texture(), OVERLAY_shader_paint_vertcol(), OVERLAY_shader_paint_weight(), OVERLAY_shader_paint_wire(), OVERLAY_shader_particle_dot(), OVERLAY_shader_particle_shape(), OVERLAY_shader_sculpt_curves_selection(), OVERLAY_shader_sculpt_mask(), OVERLAY_shader_uniform_color(), OVERLAY_shader_volume_gridlines(), OVERLAY_shader_volume_velocity(), OVERLAY_shader_wireframe(), OVERLAY_shader_wireframe_select(), and OVERLAY_shader_xray_fade().
|
static |
Definition at line 999 of file overlay_shader.c.
Referenced by OVERLAY_shader_free(), and OVERLAY_shader_instance_formats_get().
OVERLAY_Shaders sh_data[GPU_SHADER_CFG_LEN] |
Definition at line 108 of file overlay_shader.c.
Referenced by OVERLAY_shader_antialiasing(), OVERLAY_shader_armature_degrees_of_freedom_solid(), OVERLAY_shader_armature_degrees_of_freedom_wire(), OVERLAY_shader_armature_envelope(), OVERLAY_shader_armature_shape(), OVERLAY_shader_armature_shape_wire(), OVERLAY_shader_armature_sphere(), OVERLAY_shader_armature_stick(), OVERLAY_shader_armature_wire(), OVERLAY_shader_background(), OVERLAY_shader_clipbound(), OVERLAY_shader_depth_only(), OVERLAY_shader_edit_curve_handle(), OVERLAY_shader_edit_curve_point(), OVERLAY_shader_edit_curve_wire(), OVERLAY_shader_edit_gpencil_guide_point(), OVERLAY_shader_edit_gpencil_point(), OVERLAY_shader_edit_gpencil_wire(), OVERLAY_shader_edit_lattice_point(), OVERLAY_shader_edit_lattice_wire(), OVERLAY_shader_edit_mesh_analysis(), OVERLAY_shader_edit_mesh_edge(), OVERLAY_shader_edit_mesh_face(), OVERLAY_shader_edit_mesh_facedot(), OVERLAY_shader_edit_mesh_normal(), OVERLAY_shader_edit_mesh_skin_root(), OVERLAY_shader_edit_mesh_vert(), OVERLAY_shader_edit_particle_point(), OVERLAY_shader_edit_particle_strand(), OVERLAY_shader_edit_uv_edges_for_edge_select_get(), OVERLAY_shader_edit_uv_edges_get(), OVERLAY_shader_edit_uv_face_dots_get(), OVERLAY_shader_edit_uv_face_get(), OVERLAY_shader_edit_uv_mask_image(), OVERLAY_shader_edit_uv_stencil_image(), OVERLAY_shader_edit_uv_stretching_angle_get(), OVERLAY_shader_edit_uv_stretching_area_get(), OVERLAY_shader_edit_uv_tiled_image_borders_get(), OVERLAY_shader_edit_uv_verts_get(), OVERLAY_shader_extra(), OVERLAY_shader_extra_grid(), OVERLAY_shader_extra_groundline(), OVERLAY_shader_extra_loose_point(), OVERLAY_shader_extra_point(), OVERLAY_shader_extra_wire(), OVERLAY_shader_facing(), OVERLAY_shader_free(), OVERLAY_shader_gpencil_canvas(), OVERLAY_shader_grid(), OVERLAY_shader_grid_background(), OVERLAY_shader_grid_image(), OVERLAY_shader_image(), OVERLAY_shader_motion_path_line(), OVERLAY_shader_motion_path_vert(), OVERLAY_shader_outline_detect(), OVERLAY_shader_outline_prepass(), OVERLAY_shader_outline_prepass_curves(), OVERLAY_shader_outline_prepass_gpencil(), OVERLAY_shader_outline_prepass_pointcloud(), OVERLAY_shader_paint_face(), OVERLAY_shader_paint_point(), OVERLAY_shader_paint_texture(), OVERLAY_shader_paint_vertcol(), OVERLAY_shader_paint_weight(), OVERLAY_shader_paint_wire(), OVERLAY_shader_particle_dot(), OVERLAY_shader_particle_shape(), OVERLAY_shader_sculpt_curves_selection(), OVERLAY_shader_sculpt_mask(), OVERLAY_shader_uniform_color(), OVERLAY_shader_volume_gridlines(), OVERLAY_shader_volume_velocity(), OVERLAY_shader_wireframe(), OVERLAY_shader_wireframe_select(), and OVERLAY_shader_xray_fade().