25 SpeakerInstanceBuf speaker_buf_ = {selection_type_,
"speaker_data_buf"};
40 speaker_buf_.append({ob_ref.
object->object_to_world(),
color, 1.0f}, select_id);
47 state.clipping_plane_count);
52 speaker_buf_.end_sync(ps_, shapes.
speaker.get());
void GPU_framebuffer_bind(GPUFrameBuffer *framebuffer)
void submit(PassSimple &pass, View &view)
void object_sync(const ObjectRef &ob_ref, Resources &res, const State &state)
void end_sync(Resources &res, ShapeCache &shapes, const State &state)
Speakers(const SelectionType selection_type)
void draw(Framebuffer &framebuffer, Manager &manager, View &view)
@ DRW_STATE_DEPTH_LESS_EQUAL
select::SelectionType SelectionType
detail::Pass< command::DrawCommandBuf > PassSimple
VecBase< float, 4 > float4
const float4 & object_wire_color(const ObjectRef &ob_ref, ThemeColorID theme_id) const
GPUUniformBuf * globals_buf
void select_bind(PassSimple &pass)
const ID select_id(const ObjectRef &ob_ref, uint sub_object_id=0)