28 SpeakerInstanceBuf speaker_buf_ = {selection_type_,
"speaker_data_buf"};
54 const select::ID select_id = res.select_id(ob_ref);
56 speaker_buf_.append({ob_ref.object->object_to_world(),
color, 1.0f}, select_id);
67 state.clipping_plane_count);
68 ps_.shader_set(res.shaders->extra_shape.get());
73 speaker_buf_.end_sync(ps_, res.shapes.speaker.get());
83 manager.submit(ps_,
view);
void GPU_framebuffer_bind(blender::gpu::FrameBuffer *fb)
void begin_sync(Resources &, const State &state) final
void end_sync(Resources &res, const State &state) final
void object_sync(Manager &, const ObjectRef &ob_ref, Resources &res, const State &state) final
Speakers(const SelectionType selection_type)
void draw_line(Framebuffer &framebuffer, Manager &manager, View &view) final
#define DRW_CLIPPING_UBO_SLOT
#define OVERLAY_GLOBALS_SLOT
@ DRW_STATE_DEPTH_LESS_EQUAL
select::SelectionType SelectionType
detail::Pass< command::DrawCommandBuf > PassSimple
VecBase< float, 4 > float4