|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | DRW_draw_region_info () |
| void | DRW_draw_cursor () |
| void | DRW_draw_cursor_2d () |
| void | DRW_draw_gizmo_3d () |
| void | DRW_draw_gizmo_2d () |
| void DRW_draw_cursor | ( | ) |
Definition at line 98 of file draw_view_c.cc.
References compare_v4v4(), CURSOR_EDGE, DRW_cache_cursor_get(), DRW_context_state_get(), ED_region_pixelspace(), ED_view3d_pixel_size_no_ui_scale(), ED_view3d_project_int_global(), eps, GPU_batch_draw(), GPU_batch_set_shader(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_color_mask(), GPU_COMP_F32, GPU_depth_mask(), GPU_DEPTH_NONE, GPU_depth_test(), GPU_FETCH_FLOAT, GPU_line_smooth(), GPU_line_width(), GPU_matrix_pop(), GPU_matrix_projection_get, GPU_matrix_projection_set, GPU_matrix_push(), GPU_matrix_scale_2f(), GPU_matrix_translate_2f(), GPU_PRIM_LINES, GPU_SHADER_3D_FLAT_COLOR, GPU_SHADER_3D_UNIFORM_COLOR, GPU_shader_get_builtin_shader(), GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformThemeColor3(), immVertexFormat(), is_cursor_visible(), mul_qt_v3(), pos, DRWContextState::region, rotation_between_quats_to_quat(), DRWContextState::scene, TH_VIEW_OVERLAY, V3D_PROJ_RET_OK, V3D_PROJ_TEST_CLIP_NEAR, V3D_PROJ_TEST_NOP, DRWContextState::view_layer, RegionView3D::viewquat, and blender::math::QuaternionBase< T >::w.
Referenced by DRW_draw_region_info().
| void DRW_draw_cursor_2d | ( | ) |
Definition at line 264 of file draw_view_c.cc.
References SpaceImage::cursor, DRW_context_state_get(), DRW_draw_cursor_2d_ex(), GPU_color_mask(), GPU_depth_mask(), GPU_DEPTH_NONE, GPU_depth_test(), is_cursor_visible_2d(), DRWContextState::region, and DRWContextState::space_data.
Referenced by DRW_draw_render_loop_2d_ex().
| void DRW_draw_gizmo_2d | ( | ) |
Definition at line 294 of file draw_view_c.cc.
References DRW_context_state_get(), DRWContextState::evil_C, GPU_depth_mask(), DRWContextState::region, WM_gizmomap_draw(), and WM_GIZMOMAP_DRAWSTEP_2D.
Referenced by DRW_draw_callbacks_post_scene(), and DRW_draw_render_loop_2d_ex().
| void DRW_draw_gizmo_3d | ( | ) |
Definition at line 283 of file draw_view_c.cc.
References DRW_context_state_get(), DRWContextState::evil_C, DRWContextState::region, WM_gizmomap_draw(), and WM_GIZMOMAP_DRAWSTEP_3D.
Referenced by DRW_draw_callbacks_post_scene().
| void DRW_draw_region_info | ( | ) |
Definition at line 42 of file draw_view_c.cc.
References DRW_context_state_get(), DRW_draw_cursor(), DRWContextState::evil_C, GPU_debug_group_begin(), GPU_debug_group_end(), DRWContextState::region, and view3d_draw_region_info().
Referenced by DRW_draw_callbacks_post_scene().