|
Blender V4.3
|
#include "DRW_render.hh"#include "GPU_shader.hh"#include "UI_resources.hh"#include "gpu_shader_create_info.hh"#include "overlay_private.hh"Go to the source code of this file.
Classes | |
| struct | OVERLAY_Shaders |
Variables | ||
| struct { | ||
| OVERLAY_Shaders sh_data [GPU_SHADER_CFG_LEN] | ||
| } | e_data = {{{nullptr}}} | |
| static OVERLAY_InstanceFormats | g_formats = {nullptr} | |
| GPUShader * OVERLAY_shader_antialiasing | ( | ) |
Definition at line 122 of file overlay_shader.cc.
References OVERLAY_Shaders::antialiasing, e_data, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_antialiasing_cache_init().
| GPUShader * OVERLAY_shader_armature_degrees_of_freedom_solid | ( | ) |
Definition at line 288 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_dof_solid, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init().
| GPUShader * OVERLAY_shader_armature_degrees_of_freedom_wire | ( | ) |
Definition at line 276 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_dof_wire, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init().
| GPUShader * OVERLAY_shader_armature_envelope | ( | bool | use_outline | ) |
Definition at line 246 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_envelope_outline, OVERLAY_Shaders::armature_envelope_solid, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init().
| GPUShader * OVERLAY_shader_armature_shape | ( | bool | use_outline | ) |
Definition at line 217 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_shape_outline, OVERLAY_Shaders::armature_shape_solid, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init().
| GPUShader * OVERLAY_shader_armature_shape_wire | ( | ) |
Definition at line 234 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_shape_wire, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init().
| GPUShader * OVERLAY_shader_armature_sphere | ( | bool | use_outline | ) |
Definition at line 200 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_sphere_outline, OVERLAY_Shaders::armature_sphere_solid, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init(), and OVERLAY_metaball_cache_init().
| GPUShader * OVERLAY_shader_armature_stick | ( | ) |
Definition at line 264 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_stick, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init().
| GPUShader * OVERLAY_shader_armature_wire | ( | ) |
Definition at line 300 of file overlay_shader.cc.
References OVERLAY_Shaders::armature_wire, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_armature_cache_init().
| GPUShader * OVERLAY_shader_background | ( | ) |
Definition at line 131 of file overlay_shader.cc.
References OVERLAY_Shaders::background, e_data, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_background_cache_init().
| GPUShader * OVERLAY_shader_clipbound | ( | ) |
Definition at line 140 of file overlay_shader.cc.
References OVERLAY_Shaders::clipbound, e_data, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_background_cache_init().
| GPUShader * OVERLAY_shader_depth_only | ( | ) |
Definition at line 149 of file overlay_shader.cc.
References OVERLAY_Shaders::depth_only, DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init(), and OVERLAY_volume_cache_init().
| GPUShader * OVERLAY_shader_edit_curve_handle | ( | ) |
Definition at line 312 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_curve_handle, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curve_cache_init(), and OVERLAY_edit_gpencil_legacy_cache_init().
| GPUShader * OVERLAY_shader_edit_curve_point | ( | ) |
Definition at line 324 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_curve_point, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curve_cache_init(), and OVERLAY_edit_gpencil_legacy_cache_init().
| GPUShader * OVERLAY_shader_edit_curve_wire | ( | ) |
Definition at line 348 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_curve_wire, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curve_cache_init().
| GPUShader * OVERLAY_shader_edit_curves_handle | ( | ) |
Definition at line 336 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_curves_handle, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curves_cache_init().
| GPUShader * OVERLAY_shader_edit_gpencil_guide_point | ( | ) |
Definition at line 360 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_gpencil_guide_point, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_gpencil_legacy_cache_init().
| GPUShader * OVERLAY_shader_edit_gpencil_point | ( | ) |
Definition at line 372 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_gpencil_point, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_gpencil_legacy_cache_init().
| GPUShader * OVERLAY_shader_edit_gpencil_wire | ( | ) |
Definition at line 384 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_gpencil_wire, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_gpencil_legacy_cache_init().
| GPUShader * OVERLAY_shader_edit_lattice_point | ( | ) |
Definition at line 396 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_lattice_point, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_lattice_cache_init().
| GPUShader * OVERLAY_shader_edit_lattice_wire | ( | ) |
Definition at line 408 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_lattice_wire, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_lattice_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_analysis | ( | ) |
Definition at line 456 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_analysis, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_depth | ( | ) |
Definition at line 161 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_depth, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_edge | ( | bool | use_flat_interp | ) |
Definition at line 185 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_edge, OVERLAY_Shaders::edit_mesh_edge_flat, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_face | ( | ) |
Definition at line 420 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_face, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_facedot | ( | ) |
Definition at line 432 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_facedot, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_normal | ( | ) |
Definition at line 444 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_normals, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_skin_root | ( | ) |
Definition at line 468 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_skin_root, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_mesh_vert | ( | ) |
Definition at line 173 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_mesh_vert, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_mesh_cache_init().
| GPUShader * OVERLAY_shader_edit_particle_point | ( | ) |
Definition at line 492 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_particle_point, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curves_cache_init(), OVERLAY_edit_grease_pencil_cache_init(), and OVERLAY_edit_particle_cache_init().
| GPUShader * OVERLAY_shader_edit_particle_strand | ( | ) |
Definition at line 480 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::edit_particle_strand, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_edit_curves_cache_init(), OVERLAY_edit_grease_pencil_cache_init(), and OVERLAY_edit_particle_cache_init().
| GPUShader * OVERLAY_shader_edit_uv_edges_for_edge_select_get | ( | ) |
Definition at line 1074 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_edit_uv_edges_get | ( | ) |
Definition at line 1065 of file overlay_shader.cc.
References e_data, OVERLAY_Shaders::edit_uv_edges, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init().
| GPUShader * OVERLAY_shader_edit_uv_face_dots_get | ( | ) |
Definition at line 1093 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_edit_uv_face_get | ( | ) |
Definition at line 1084 of file overlay_shader.cc.
References e_data, OVERLAY_Shaders::edit_uv_faces, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init().
| GPUShader * OVERLAY_shader_edit_uv_mask_image | ( | ) |
Definition at line 657 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_edit_uv_stencil_image | ( | ) |
Definition at line 647 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_edit_uv_stretching_angle_get | ( | ) |
Definition at line 1123 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_edit_uv_stretching_area_get | ( | ) |
Definition at line 1112 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_edit_uv_tiled_image_borders_get | ( | ) |
Definition at line 1134 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_edit_uv_verts_get | ( | ) |
Definition at line 1102 of file overlay_shader.cc.
References e_data, OVERLAY_Shaders::edit_uv_verts, GPU_shader_create_from_info_name(), and sh_data.
Referenced by OVERLAY_edit_uv_cache_init().
| GPUShader * OVERLAY_shader_extra | ( | bool | is_select | ) |
Definition at line 504 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra, OVERLAY_Shaders::extra_select, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init().
| GPUShader * OVERLAY_shader_extra_grid | ( | ) |
Definition at line 518 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_lightprobe_grid, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init().
| GPUShader * OVERLAY_shader_extra_groundline | ( | ) |
Definition at line 530 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_groundline, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init().
| GPUShader * OVERLAY_shader_extra_loose_point | ( | ) |
Definition at line 571 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_loose_point, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init().
| GPUShader * OVERLAY_shader_extra_point | ( | ) |
Definition at line 583 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_point, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init().
| GPUShader * OVERLAY_shader_extra_wire | ( | bool | use_object, |
| bool | is_select ) |
Definition at line 542 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::extra_wire, OVERLAY_Shaders::extra_wire_select, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_extra_cache_init().
| GPUShader * OVERLAY_shader_facing | ( | ) |
Definition at line 595 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, OVERLAY_Shaders::facing, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_facing_cache_init().
| void OVERLAY_shader_free | ( | ) |
Definition at line 1216 of file overlay_shader.cc.
References ARRAY_SIZE, DRW_SHADER_FREE_SAFE, e_data, g_formats, MEM_SAFE_FREE, and sh_data.
Referenced by OVERLAY_engine_free().
| GPUShader * OVERLAY_shader_gpencil_canvas | ( | ) |
Definition at line 607 of file overlay_shader.cc.
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_legacy_cache_init(), and OVERLAY_grease_pencil_cache_init().
| GPUShader * OVERLAY_shader_grid | ( | ) |
Definition at line 620 of file overlay_shader.cc.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::grid, and sh_data.
Referenced by OVERLAY_grid_cache_init().
| GPUShader * OVERLAY_shader_grid_background | ( | ) |
Definition at line 629 of file overlay_shader.cc.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::grid_background, and sh_data.
Referenced by OVERLAY_grid_cache_init().
| GPUShader * OVERLAY_shader_grid_image | ( | ) |
Definition at line 638 of file overlay_shader.cc.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::grid_image, and sh_data.
Referenced by OVERLAY_grid_cache_init().
| GPUShader * OVERLAY_shader_image | ( | ) |
Definition at line 666 of file overlay_shader.cc.
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(), and OVERLAY_image_empty_cache_populate().
| OVERLAY_InstanceFormats * OVERLAY_shader_instance_formats_get | ( | ) |
Definition at line 1148 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_motion_path_line | ( | ) |
Definition at line 678 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::motion_path_line, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_motion_path_cache_init().
| GPUShader * OVERLAY_shader_motion_path_vert | ( | ) |
Definition at line 690 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::motion_path_vert, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_motion_path_cache_init().
| GPUShader * OVERLAY_shader_outline_detect | ( | ) |
Definition at line 756 of file overlay_shader.cc.
References e_data, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_detect, and sh_data.
Referenced by OVERLAY_outline_cache_init().
| GPUShader * OVERLAY_shader_outline_prepass | ( | bool | use_wire | ) |
Definition at line 702 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, 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().
| GPUShader * OVERLAY_shader_outline_prepass_curves | ( | ) |
Definition at line 719 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_prepass_curves, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_outline_cache_init().
| GPUShader * OVERLAY_shader_outline_prepass_gpencil | ( | ) |
Definition at line 731 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_prepass_gpencil, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_outline_cache_init().
| GPUShader * OVERLAY_shader_outline_prepass_pointcloud | ( | ) |
Definition at line 743 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::outline_prepass_pointcloud, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_outline_cache_init().
| GPUShader * OVERLAY_shader_paint_face | ( | ) |
Definition at line 765 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_paint_point | ( | ) |
Definition at line 777 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_paint_texture | ( | ) |
Definition at line 789 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_texture, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init().
| GPUShader * OVERLAY_shader_paint_vertcol | ( | ) |
Definition at line 801 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_vertcol, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init().
| GPUShader * OVERLAY_shader_paint_weight | ( | const bool | shading | ) |
Definition at line 813 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_paint_wire | ( | ) |
Definition at line 829 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::paint_wire, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_paint_cache_init().
| GPUShader * OVERLAY_shader_particle_dot | ( | ) |
Definition at line 841 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::particle_dot, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_particle_cache_init().
| GPUShader * OVERLAY_shader_particle_shape | ( | ) |
Definition at line 853 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::particle_shape, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_particle_cache_init().
| GPUShader * OVERLAY_shader_sculpt_curves_cage | ( | ) |
Definition at line 889 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::sculpt_curves_cage, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_sculpt_curves_cache_init().
| GPUShader * OVERLAY_shader_sculpt_curves_selection | ( | ) |
Definition at line 877 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_sculpt_mask | ( | ) |
Definition at line 865 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), OVERLAY_Shaders::sculpt_mask, DRWContextState::sh_cfg, and sh_data.
Referenced by OVERLAY_sculpt_cache_init().
| GPUShader * OVERLAY_shader_uniform_color | ( | ) |
Definition at line 950 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, 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 OVERLAY_viewer_attribute_cache_init().
| GPUShader * OVERLAY_shader_uniform_color_pointcloud | ( | ) |
Definition at line 962 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::uniform_color_pointcloud.
Referenced by OVERLAY_viewer_attribute_cache_init().
| GPUShader * OVERLAY_shader_viewer_attribute_curve | ( | ) |
Definition at line 926 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::viewer_attribute_curve.
Referenced by OVERLAY_viewer_attribute_cache_init().
| GPUShader * OVERLAY_shader_viewer_attribute_curves | ( | ) |
Definition at line 938 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::viewer_attribute_curves.
Referenced by OVERLAY_viewer_attribute_cache_init().
| GPUShader * OVERLAY_shader_viewer_attribute_mesh | ( | ) |
Definition at line 901 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::viewer_attribute_mesh.
Referenced by OVERLAY_viewer_attribute_cache_init().
| GPUShader * OVERLAY_shader_viewer_attribute_pointcloud | ( | ) |
Definition at line 913 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::viewer_attribute_pointcloud.
Referenced by OVERLAY_viewer_attribute_cache_init().
| GPUShader * OVERLAY_shader_volume_gridlines | ( | bool | color_with_flags, |
| bool | color_range ) |
Definition at line 999 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_volume_velocity | ( | bool | use_needle, |
| bool | use_mac ) |
Definition at line 974 of file overlay_shader.cc.
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().
| GPUShader * OVERLAY_shader_wireframe | ( | bool | custom_bias | ) |
Definition at line 1037 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::wireframe.
Referenced by OVERLAY_wireframe_cache_init().
| GPUShader * OVERLAY_shader_wireframe_select | ( | ) |
Definition at line 1025 of file overlay_shader.cc.
References DRW_context_state_get(), e_data, GPU_SHADER_CFG_CLIPPED, GPU_shader_create_from_info_name(), DRWContextState::sh_cfg, sh_data, and OVERLAY_Shaders::wireframe_select.
Referenced by OVERLAY_wireframe_cache_init().
| GPUShader * OVERLAY_shader_xray_fade | ( | ) |
Definition at line 1052 of file overlay_shader.cc.
References e_data, GPU_shader_create_from_info_name(), sh_data, and OVERLAY_Shaders::xray_fade.
Referenced by OVERLAY_antialiasing_cache_init().
| 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_curves_handle(), 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_depth(), 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_cage(), OVERLAY_shader_sculpt_curves_selection(), OVERLAY_shader_sculpt_mask(), OVERLAY_shader_uniform_color(), OVERLAY_shader_uniform_color_pointcloud(), OVERLAY_shader_viewer_attribute_curve(), OVERLAY_shader_viewer_attribute_curves(), OVERLAY_shader_viewer_attribute_mesh(), OVERLAY_shader_viewer_attribute_pointcloud(), OVERLAY_shader_volume_gridlines(), OVERLAY_shader_volume_velocity(), OVERLAY_shader_wireframe(), OVERLAY_shader_wireframe_select(), and OVERLAY_shader_xray_fade().
|
static |
Definition at line 1146 of file overlay_shader.cc.
Referenced by OVERLAY_shader_free(), and OVERLAY_shader_instance_formats_get().
| OVERLAY_Shaders sh_data[GPU_SHADER_CFG_LEN] |
Definition at line 119 of file overlay_shader.cc.
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_curves_handle(), 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_depth(), 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_cage(), OVERLAY_shader_sculpt_curves_selection(), OVERLAY_shader_sculpt_mask(), OVERLAY_shader_uniform_color(), OVERLAY_shader_uniform_color_pointcloud(), OVERLAY_shader_viewer_attribute_curve(), OVERLAY_shader_viewer_attribute_curves(), OVERLAY_shader_viewer_attribute_mesh(), OVERLAY_shader_viewer_attribute_pointcloud(), OVERLAY_shader_volume_gridlines(), OVERLAY_shader_volume_velocity(), OVERLAY_shader_wireframe(), OVERLAY_shader_wireframe_select(), and OVERLAY_shader_xray_fade().