|
Blender V4.3
|
#include <dummy_vertex_buffer.hh>
Inherits blender::gpu::VertBuf.
Public Member Functions | |
| void | bind_as_ssbo (uint) override |
| void | bind_as_texture (uint) override |
| void | wrap_handle (uint64_t) override |
| void | update_sub (uint, uint, const void *) override |
| void | read (void *) const override |
Public Member Functions inherited from blender::gpu::VertBuf | |
| VertBuf () | |
| virtual | ~VertBuf () |
| void | init (const GPUVertFormat &format, GPUUsageType usage) |
| void | clear () |
| void | allocate (uint vert_len) |
| void | resize (uint vert_len) |
| void | upload () |
| VertBuf * | duplicate () |
| size_t | size_alloc_get () const |
| size_t | size_used_get () const |
| void | reference_add () |
| void | reference_remove () |
| GPUUsageType | get_usage_type () const |
| template<typename T > | |
| MutableSpan< T > | data () |
Protected Member Functions | |
| void | acquire_data () override |
| void | resize_data () override |
| void | release_data () override |
| void | upload_data () override |
| void | duplicate_data (VertBuf *) override |
Additional Inherited Members | |
Public Attributes inherited from blender::gpu::VertBuf | |
| GPUVertFormat | format = {} |
| uint | vertex_len = 0 |
| uint | vertex_alloc = 0 |
| GPUVertBufStatus | flag = GPU_VERTBUF_INVALID |
| GPUUsageType | extended_usage_ = GPU_USAGE_STATIC |
Static Public Attributes inherited from blender::gpu::VertBuf | |
| static size_t | memory_usage = 0 |
Protected Attributes inherited from blender::gpu::VertBuf | |
| uchar * | data_ = nullptr |
| GPUUsageType | usage_ = GPU_USAGE_STATIC |
Definition at line 13 of file dummy_vertex_buffer.hh.
|
inlineoverrideprotectedvirtual |
Implements blender::gpu::VertBuf.
Definition at line 24 of file dummy_vertex_buffer.hh.
References blender::gpu::VertBuf::data_, MEM_mallocN, MEM_SAFE_FREE, and blender::gpu::VertBuf::size_alloc_get().
|
inlineoverridevirtual |
Implements blender::gpu::VertBuf.
Definition at line 16 of file dummy_vertex_buffer.hh.
|
inlineoverridevirtual |
Implements blender::gpu::VertBuf.
Definition at line 17 of file dummy_vertex_buffer.hh.
|
inlineoverrideprotectedvirtual |
Implements blender::gpu::VertBuf.
Definition at line 35 of file dummy_vertex_buffer.hh.
|
inlineoverridevirtual |
Implements blender::gpu::VertBuf.
Definition at line 21 of file dummy_vertex_buffer.hh.
|
inlineoverrideprotectedvirtual |
Implements blender::gpu::VertBuf.
Definition at line 30 of file dummy_vertex_buffer.hh.
References blender::gpu::VertBuf::data_, and MEM_SAFE_FREE.
|
inlineoverrideprotectedvirtual |
Implements blender::gpu::VertBuf.
Definition at line 29 of file dummy_vertex_buffer.hh.
|
inlineoverridevirtual |
Implements blender::gpu::VertBuf.
Definition at line 20 of file dummy_vertex_buffer.hh.
|
inlineoverrideprotectedvirtual |
Implements blender::gpu::VertBuf.
Definition at line 34 of file dummy_vertex_buffer.hh.
|
inlineoverridevirtual |
Implements blender::gpu::VertBuf.
Definition at line 18 of file dummy_vertex_buffer.hh.