51 PassSimple anti_aliasing_ps_ = {
"AntiAliasing"};
53 GPUFrameBuffer *framebuffer_ref_ =
nullptr;
59 anti_aliasing_ps_.init();
82 framebuffer_ref_ = framebuffer;
83 manager.
submit(anti_aliasing_ps_);
@ USER_GPU_FLAG_OVERLAY_SMOOTH_WIRE
void submit(PassSimple &pass, View &view)
void bind_texture(const char *name, GPUTexture *texture, GPUSamplerState state=sampler_auto)
void draw_procedural(GPUPrimType primitive, uint instance_len, uint vertex_len, uint vertex_first=-1, ResourceHandle handle={0}, uint custom_id=0)
void state_set(DRWState state, int clip_plane_count=0)
void bind_ubo(const char *name, GPUUniformBuf *buffer)
void framebuffer_set(GPUFrameBuffer **framebuffer)
void push_constant(const char *name, const float &data)
void shader_set(GPUShader *shader)
void begin_sync(Resources &res)
void draw(Framebuffer &framebuffer, Manager &manager, View &)
@ DRW_STATE_BLEND_ALPHA_PREMUL
detail::Pass< command::DrawCommandBuf > PassSimple
GPUUniformBuf * globals_buf
TextureFromPool overlay_tx
const SelectionType selection_type