Blender V5.3
GPU_immediate_util.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu

Functions

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_with_texco (uint pos, uint tex_coord, const rctf &p, const rctf &uv)
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::imm_cpack (uint x)
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)
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_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)
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)
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)
void blender::imm_drawcircball (const float cent[3], float radius, const float tmat[4][4], uint pos)

Detailed Description

Utility drawing functions (rough equivalent to OpenGL's GLU)

Definition in file GPU_immediate_util.hh.