31 bke::AttrDomain::Point;
52 for (
int i = 0; i < 2; i++) {
85 blender::gpu::Batch *geom_points = DRW_curves_batch_cache_get_edit_points(curves);
90 blender::gpu::Batch *geom_handles = DRW_curves_batch_cache_get_edit_curves_handles(curves);
94 blender::gpu::Batch *geom_lines = DRW_curves_batch_cache_get_edit_curves_lines(curves);
Low-level operations for curves that cannot be defined in the C++ header yet.
Object * DEG_get_original_object(Object *object)
#define DRW_shgroup_call_no_cull(shgroup, geom, ob)
#define DRW_PASS_CREATE(pass, state)
#define DRW_shgroup_uniform_block(shgroup, name, ubo)
#define XRAY_FLAG_ENABLED(v3d)
void GPU_framebuffer_bind(GPUFrameBuffer *framebuffer)
struct GPUShader GPUShader
DRWView * DRW_view_create_with_zoffset(const DRWView *parent_view, const RegionView3D *rv3d, float offset)
const DRWContextState * DRW_context_state_get()
const DRWView * DRW_view_default_get()
DRWShadingGroup * DRW_shgroup_create(GPUShader *shader, DRWPass *pass)
void DRW_shgroup_state_enable(DRWShadingGroup *shgroup, DRWState state)
void DRW_shgroup_uniform_bool_copy(DRWShadingGroup *shgroup, const char *name, const bool value)
void DRW_draw_pass(DRWPass *pass)
void DRW_view_set_active(const DRWView *view)
@ DRW_STATE_DEPTH_LESS_EQUAL
void OVERLAY_edit_curves_draw(OVERLAY_Data *vedata)
static void overlay_edit_curves_add_ob_to_pass(OVERLAY_PrivateData *pd, Object *ob, bool in_front)
void OVERLAY_edit_curves_init(OVERLAY_Data *vedata)
void OVERLAY_edit_curves_cache_populate(OVERLAY_Data *vedata, Object *ob)
void OVERLAY_edit_curves_cache_init(OVERLAY_Data *vedata)
GPUShader * OVERLAY_shader_edit_particle_point()
GPUShader * OVERLAY_shader_edit_particle_strand()
GPUShader * OVERLAY_shader_edit_curves_handle()
GPUUniformBuf * block_ubo
OVERLAY_StorageList * stl
OVERLAY_FramebufferList * fbl
GPUFrameBuffer * overlay_default_fb
DRWPass * edit_curves_lines_ps[2]
DRWPass * edit_curves_handles_ps
DRWPass * edit_curves_points_ps[2]
DRWShadingGroup * edit_curves_handles_grp
DRWShadingGroup * edit_curves_lines_grp[2]
DRWShadingGroup * edit_curves_points_grp[2]
struct OVERLAY_PrivateData::@231 edit_curves
DRWView * view_edit_curves