Blender V4.3
blender::draw::overlay::Background Class Reference

#include <overlay_next_background.hh>

Public Member Functions

void begin_sync (Resources &res, const State &state)
 
void draw (Framebuffer &framebuffer, Manager &manager, View &)
 

Detailed Description

Definition at line 15 of file overlay_next_background.hh.

Member Function Documentation

◆ begin_sync()

void blender::draw::overlay::Background::begin_sync ( Resources & res,
const State & state )
inline

Definition at line 22 of file overlay_next_background.hh.

References blender::draw::overlay::ShaderModule::background_clip_bound, blender::draw::overlay::ShaderModule::background_fill, BG_CHECKER, BG_GRADIENT, BG_MASK, BG_RADIAL, BG_SOLID, BG_SOLID_CHECKER, blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), blender::draw::detail::PassBase< DrawCommandBufType >::clear_color(), GlobalsUboStorage::color_clipping_border, blender::draw::overlay::Resources::color_render_tx, blender::draw::overlay::Resources::depth_tx, blender::draw::detail::PassBase< DrawCommandBufType >::draw(), blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), DRW_cache_cube_get(), DRW_STATE_BLEND_ALPHA, DRW_STATE_BLEND_BACKGROUND, DRW_STATE_BLEND_MUL, DRW_STATE_CULL_BACK, DRW_state_draw_background(), DRW_state_is_viewport_image_render(), DRW_STATE_WRITE_COLOR, blender::draw::detail::PassBase< DrawCommandBufType >::framebuffer_set(), blender::draw::overlay::Resources::globals_buf, GPU_PRIM_TRIS, blender::draw::detail::Pass< DrawCommandBufType >::init(), OB_SOLID, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, SPACE_IMAGE, SPACE_NODE, state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), TH_BACKGROUND_GRADIENT_LINEAR, TH_BACKGROUND_GRADIENT_RADIAL, TH_BACKGROUND_SINGLE_COLOR, TH_BACKGROUND_TYPE, blender::draw::overlay::Resources::theme_settings, UI_GetThemeValue(), UNPACK3, V3D_SHADING_BACKGROUND_VIEWPORT, and V3D_SHADING_BACKGROUND_WORLD.

◆ draw()

void blender::draw::overlay::Background::draw ( Framebuffer & framebuffer,
Manager & manager,
View &  )
inline

Definition at line 97 of file overlay_next_background.hh.

References blender::draw::Manager::submit().


The documentation for this class was generated from the following file: