|
Blender V5.3
|
#include <cstring>#include "DNA_userdef_types.h"#include "BLI_math_rotation_c.hh"#include "BLI_math_vector_c.hh"#include "BLI_rect.hh"#include "BLI_utildefines.hh"#include "GPU_immediate.hh"#include "UI_resources.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::gpu |
Functions | |
| static void | blender::gpu::imm_draw_circle_partial_aspect (const GPUPrimType prim_type, const uint pos, const float x, const float y, const float2 radius, const int nsegments, const float start, const float sweep) |
| static void | blender::gpu::imm_draw_circle_partial_aspect_3d (const GPUPrimType prim_type, const uint pos, const float x, const float y, const float z, const float2 radius, const int nsegments, const float start, const float sweep) |
| void | blender::gpu::imm_draw_circle_partial_wire_aspect_2d (uint pos, float x, float y, float2 radius, int nsegments, float start, float sweep) |
| void | blender::gpu::imm_draw_circle_partial_wire_aspect_3d (uint pos, float x, float y, float z, float2 radius, int nsegments, float start, float sweep) |
| void | blender::gpu::imm_draw_rounded_box_wire_2d (uint pos, float x, float y, float2 radius, float2 corner_radius, int nsegments) |
| void | blender::gpu::imm_draw_rounded_box_wire_3d (uint pos, float x, float y, float2 radius, float2 corner_radius, int nsegments) |
| void | blender::immRectf (uint pos, float x1, float y1, float x2, float y2) |
| void | blender::immRecti (uint pos, int x1, int y1, int x2, int y2) |
| void | blender::immRectf_fast (uint pos, float x1, float y1, float x2, float y2) |
| void | blender::immRectf_fast_with_color (uint pos, uint col, float x1, float y1, float x2, float y2, const float color[4]) |
| void | blender::immRecti_fast_with_color (uint pos, uint col, int x1, int y1, int x2, int y2, const float color[4]) |
| void | blender::immRectf_with_texco (uint pos, uint tex_coord, const rctf &p, const rctf &uv) |
| void | blender::imm_cpack (uint x) |
| static void | blender::imm_draw_circle (GPUPrimType prim_type, const uint shdr_pos, float x, float y, float radius_x, float radius_y, int nsegments) |
| void | blender::imm_draw_circle_wire_2d (uint shdr_pos, float x, float y, float radius, int nsegments) |
| void | blender::imm_draw_circle_fill_2d (uint shdr_pos, float x, float y, float radius, int nsegments) |
| void | blender::imm_draw_circle_wire_aspect_2d (uint shdr_pos, float x, float y, float radius_x, float radius_y, int nsegments) |
| void | blender::imm_draw_circle_fill_aspect_2d (uint shdr_pos, float x, float y, float radius_x, float radius_y, int nsegments) |
| static void | blender::imm_draw_circle_partial (GPUPrimType prim_type, uint pos, float x, float y, float radius, int nsegments, float start, float sweep) |
| static void | blender::imm_draw_circle_partial_3d (GPUPrimType prim_type, uint pos, float x, float y, float z, float rad, int nsegments, float start, float sweep) |
| void | blender::imm_draw_circle_partial_wire_2d (uint pos, float x, float y, float radius, int nsegments, float start, float sweep) |
| void | blender::imm_draw_circle_partial_wire_3d (uint pos, float x, float y, float z, float radius, int nsegments, float start, float sweep) |
| static void | blender::imm_draw_disk_partial (GPUPrimType prim_type, uint pos, float x, float y, float rad_inner, float rad_outer, int nsegments, float start, float sweep) |
| static void | blender::imm_draw_disk_partial_3d (GPUPrimType prim_type, uint pos, float x, float y, float z, float rad_inner, float rad_outer, int nsegments, float start, float sweep) |
| void | blender::imm_draw_disk_partial_fill_2d (uint pos, float x, float y, float rad_inner, float rad_outer, int nsegments, float start, float sweep) |
| void | blender::imm_draw_disk_partial_fill_3d (uint pos, float x, float y, float z, float rad_inner, float rad_outer, int nsegments, float start, float sweep) |
| static void | blender::imm_draw_circle_3D (GPUPrimType prim_type, uint pos, float x, float y, float radius_x, float radius_y, int nsegments) |
| void | blender::imm_draw_circle_wire_3d (uint pos, float x, float y, float radius, int nsegments) |
| void | blender::imm_draw_circle_wire_aspect_3d (uint pos, float x, float y, float radius_x, float radius_y, int nsegments) |
| void | blender::imm_draw_circle_dashed_3d (uint pos, float x, float y, float radius, int nsegments) |
| void | blender::imm_draw_circle_fill_3d (uint pos, float x, float y, float radius, int nsegments) |
| void | blender::imm_draw_circle_fill_aspect_3d (uint pos, float x, float y, float radius_x, float radius_y, int nsegments) |
| void | blender::imm_draw_box_wire_2d (uint pos, float x1, float y1, float x2, float y2) |
| void | blender::imm_draw_box_wire_3d (uint pos, float x1, float y1, float x2, float y2) |
| void | blender::imm_draw_box_checker_2d_ex (float x1, float y1, float x2, float y2, const float color_primary[4], const float color_secondary[4], int checker_size) |
| void | blender::imm_draw_box_checker_2d (float x1, float y1, float x2, float y2, bool clear_alpha=false) |
| void | blender::imm_draw_cube_fill_3d (uint pos, const float center[3], const float aspect[3]) |
| void | blender::imm_draw_cube_wire_3d (uint pos, const float center[3], const float aspect[3]) |
| void | blender::imm_draw_cube_corners_3d (uint pos, const float center[3], const float aspect[3], float factor) |
| void | blender::imm_draw_cylinder_fill_normal_3d (uint pos, uint nor, float base, float top, float height, int slices, int stacks) |
| void | blender::imm_draw_cylinder_wire_3d (uint pos, float base, float top, float height, int slices, int stacks) |
| void | blender::imm_draw_cylinder_fill_3d (uint pos, float base, float top, float height, int slices, int stacks) |
| static void | blender::circball_array_fill (const float verts[CIRCLE_RESOL][3], const float cent[3], const float radius, const float tmat[4][4]) |
| void | blender::imm_drawcircball (const float cent[3], float radius, const float tmat[4][4], uint pos) |
Variables | |
| static const float | blender::cube_coords [8][3] |
| static const int | blender::cube_quad_index [6][4] |
| static const int | blender::cube_line_index [12][2] |
| static constexpr int | blender::CIRCLE_RESOL = 32 |
GPU immediate mode drawing utilities
Definition in file gpu_immediate_util.cc.