|
Blender V4.3
|
#include <DRW_gpu_wrapper.hh>
Inherits blender::draw::detail::DataBuffer< T, len, false >, blender::NonMovable, and blender::NonCopyable.
Public Member Functions | |
| UniformCommon (const char *name=nullptr) | |
| ~UniformCommon () | |
| void | push_update () |
| operator GPUUniformBuf * () const | |
| GPUUniformBuf ** | operator& () |
Public Member Functions inherited from blender::draw::detail::DataBuffer< T, len, false > | |
| const T & | operator[] (int64_t index) const |
| T & | operator[] (int64_t index) |
| const T * | data () const |
| T * | data () |
| const T * | begin () const |
| T * | begin () |
| const T * | end () const |
| T * | end () |
| operator Span< T > () const | |
Protected Attributes | |
| GPUUniformBuf * | ubo_ |
| const char * | name_ = typeid(T).name() |
Protected Attributes inherited from blender::draw::detail::DataBuffer< T, len, false > | |
| T * | data_ |
| int64_t | len_ |
Additional Inherited Members | |
Protected Member Functions inherited from blender::draw::detail::DataBuffer< T, len, false > | |
| BLI_STATIC_ASSERT (((sizeof(T) *len) % 16)==0, "Buffer size need to be aligned to size of float4.") | |
Definition at line 171 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 182 of file DRW_gpu_wrapper.hh.
References GPU_uniformbuf_create_ex(), len, blender::draw::detail::UniformCommon< T, len, device_only >::name_, and blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 190 of file DRW_gpu_wrapper.hh.
References GPU_uniformbuf_free(), and blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 201 of file DRW_gpu_wrapper.hh.
References blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 207 of file DRW_gpu_wrapper.hh.
References blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 195 of file DRW_gpu_wrapper.hh.
References GPU_uniformbuf_update(), and blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
Referenced by blender::draw::overlay::Grid::begin_sync(), blender::draw::View::bind(), blender::draw::View::compute_visibility(), blender::draw::curves_sub_pass_setup_implementation(), blender::draw::DRW_shgroup_curves_create_sub(), drw_volume_object_grids_init(), blender::draw::drw_volume_object_mesh_init(), drw_volume_object_mesh_init(), blender::draw::Manager::end_sync(), blender::workbench::SceneResources::init(), blender::workbench::ShadowPass::init(), blender::eevee::DepthOfField::render(), blender::eevee::MotionBlurModule::render(), blender::eevee::PlanarProbeModule::set_view(), blender::eevee::VolumeProbeModule::set_view(), blender::draw::test_draw_pass_all_commands(), and blender::draw::volume_object_grids_init().
|
protected |
Definition at line 176 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::detail::UniformCommon< T, len, device_only >::UniformCommon().
|
protected |
Definition at line 173 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::detail::UniformCommon< T, len, device_only >::operator GPUUniformBuf *(), blender::draw::detail::UniformCommon< T, len, device_only >::operator&(), blender::draw::detail::UniformCommon< T, len, device_only >::push_update(), blender::draw::detail::UniformCommon< T, len, device_only >::UniformCommon(), and blender::draw::detail::UniformCommon< T, len, device_only >::~UniformCommon().