Blender
V3.3
|
#include "DRW_render.h"
#include "UI_resources.h"
#include "draw_manager_text.h"
#include "overlay_private.h"
Go to the source code of this file.
Functions | |
void | OVERLAY_background_cache_init (OVERLAY_Data *vedata) |
void | OVERLAY_background_draw (OVERLAY_Data *vedata) |
void OVERLAY_background_cache_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 15 of file overlay_background.c.
References View3DShading::background_color, OVERLAY_PassList::background_ps, View3DShading::background_type, BG_CHECKER, BG_GRADIENT, BG_MASK, BG_RADIAL, BG_SOLID, BG_SOLID_CHECKER, DRW_Global::block, DRW_Global::block_ubo, RegionView3D::clipbb, OVERLAY_PassList::clipping_frustum_ps, OVERLAY_PrivateData::clipping_state, DefaultTextureList::color, GlobalsUboStorage::color_clipping_border, copy_v3_v3(), DefaultTextureList::depth, DRW_cache_cube_get(), DRW_context_state_get(), DRW_PASS_CREATE, DRW_shgroup_call, DRW_shgroup_call_procedural_triangles(), DRW_shgroup_create(), DRW_shgroup_uniform_block, DRW_shgroup_uniform_int_copy(), DRW_shgroup_uniform_texture_ref(), DRW_shgroup_uniform_vec3(), DRW_shgroup_uniform_vec4_copy(), DRW_STATE_BLEND_ALPHA, DRW_STATE_BLEND_BACKGROUND, DRW_STATE_BLEND_MUL, DRW_STATE_CULL_BACK, DRW_state_draw_background(), DRW_state_is_opengl_render(), DRW_STATE_WRITE_COLOR, DRW_viewport_texture_list_get(), G_draw, GPUBatch, World::horr, NULL, OB_SOLID, OVERLAY_shader_background(), OVERLAY_shader_clipbound(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, DRWContextState::rv3d, scene, DRWContextState::scene, sh, View3D::shading, SPACE_IMAGE, SPACE_NODE, OVERLAY_PrivateData::space_type, state, OVERLAY_Data::stl, TH_BACKGROUND_GRADIENT_LINEAR, TH_BACKGROUND_GRADIENT_RADIAL, TH_BACKGROUND_SINGLE_COLOR, TH_BACKGROUND_TYPE, View3DShading::type, UI_GetThemeValue(), DRWContextState::v3d, V3D_SHADING_BACKGROUND_VIEWPORT, V3D_SHADING_BACKGROUND_WORLD, BoundBox::vec, and Scene::world.
Referenced by OVERLAY_cache_init().
void OVERLAY_background_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 103 of file overlay_background.c.
References OVERLAY_PassList::background_ps, OVERLAY_PassList::clipping_frustum_ps, DRW_draw_pass(), DRW_state_is_fbo(), and OVERLAY_Data::psl.
Referenced by OVERLAY_draw_scene().