35 state.clipping_plane_count);
36 ps_.shader_set(res.shaders->gsplat_points.get());
54 ps_.draw(geom, res_handle, res.select_id(ob_ref).get());
64 manager.generate_commands(ps_, view);
74 manager.submit_only(ps_, view);
void begin_sync(Resources &res, const State &state) final
void pre_draw(Manager &manager, View &view) final
void draw_line(Framebuffer &framebuffer, Manager &manager, View &view) final
void edit_object_sync(Manager &manager, const ObjectRef &ob_ref, Resources &res, const State &) final
#define DRW_CLIPPING_UBO_SLOT
#define OVERLAY_GLOBALS_SLOT
gpu::Batch * DRW_cache_gsplat_vert_overlay_get(Object *ob)
detail::Pass< command::DrawMultiBuf > PassMain
gpu::Batch * gsplat_sub_pass_setup(PassMain::Sub &sub_ps, const ObjectRef &ob_ref, const ResourceHandleRange &res_handle, GPUMaterial *gpu_material=nullptr)
void GPU_framebuffer_bind(gpu::FrameBuffer *fb)
@ DRW_STATE_DEPTH_LESS_EQUAL