|
Blender V4.3
|
#include <overlay_next_grid.hh>
Public Member Functions | |
| void | begin_sync (Resources &res, ShapeCache &shapes, const State &state, const View &view) |
| void | draw (Framebuffer &framebuffer, Manager &manager, View &view) |
Definition at line 24 of file overlay_next_grid.hh.
|
inline |
Definition at line 40 of file overlay_next_grid.hh.
References blender::draw::StorageVectorBuffer< T, len >::append(), blender::draw::StorageVectorBuffer< T, len >::clear(), GlobalsUboStorage::color_background, GlobalsUboStorage::color_grid, blender::draw::overlay::Resources::depth_tx, DRW_STATE_BLEND_ALPHA, DRW_STATE_WRITE_COLOR, blender::draw::overlay::Resources::globals_buf, blender::draw::overlay::ShaderModule::grid, blender::draw::overlay::ShapeCache::grid, blender::draw::overlay::ShaderModule::grid_background, blender::draw::overlay::ShaderModule::grid_image, blender::draw::detail::Pass< DrawCommandBufType >::init(), init(), blender::math::interpolate(), blender::draw::detail::StorageCommon< T, len, device_only >::push_update(), blender::draw::detail::UniformCommon< T, len, device_only >::push_update(), blender::draw::overlay::ShapeCache::quad_solid, blender::draw::overlay::ShapeCache::quad_wire, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, SHOW_AXIS_Z, blender::draw::StorageVectorBuffer< T, len >::size(), SPACE_IMAGE, srgb_to_linearrgb_v4(), state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), blender::draw::detail::PassBase< DrawCommandBufType >::sub(), TH_BACK, blender::draw::overlay::Resources::theme_settings, and UI_GetThemeColorShade4fv().
|
inline |
Definition at line 106 of file overlay_next_grid.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().