Blender
V3.3
|
#include <DRW_gpu_wrapper.hh>
Public Member Functions | |
UniformCommon () | |
~UniformCommon () | |
void | push_update (void) |
operator GPUUniformBuf * () const | |
GPUUniformBuf ** | operator& () |
![]() | |
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_ = "UniformBuffer" |
![]() | |
T * | data_ |
int64_t | len_ |
Additional Inherited Members | |
![]() | |
BLI_STATIC_ASSERT (((sizeof(T) *len) % 16)==0, "Buffer size need to be aligned to size of float4.") | |
Definition at line 164 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 175 of file DRW_gpu_wrapper.hh.
References GPU_uniformbuf_create_ex(), len, blender::draw::detail::UniformCommon< T, len, device_only >::name_, T, and blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 180 of file DRW_gpu_wrapper.hh.
References GPU_uniformbuf_free(), and blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 191 of file DRW_gpu_wrapper.hh.
References blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 197 of file DRW_gpu_wrapper.hh.
References blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
|
inline |
Definition at line 185 of file DRW_gpu_wrapper.hh.
References GPU_uniformbuf_update(), and blender::draw::detail::UniformCommon< T, len, device_only >::ubo_.
Referenced by DRW_shgroup_curves_create_sub().
|
protected |
Definition at line 171 of file DRW_gpu_wrapper.hh.
Referenced by blender::draw::detail::UniformCommon< T, len, device_only >::UniformCommon().
|
protected |
Definition at line 166 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().