Blender V5.3
gpu_vertex_buffer.cc File Reference
#include "MEM_guardedalloc.h"
#include "gpu_backend.hh"
#include "gpu_vertex_format_private.hh"
#include "GPU_vertex_buffer.hh"
#include "gpu_context_private.hh"
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu

Functions

C-API
gpu::VertBuf * blender::GPU_vertbuf_calloc ()
gpu::VertBuf * blender::GPU_vertbuf_create_with_format_ex (const GPUVertFormat &format, GPUUsageType usage)
void blender::GPU_vertbuf_init_with_format_ex (gpu::VertBuf &verts, const GPUVertFormat &format, GPUUsageType)
void blender::GPU_vertbuf_init_build_on_device (gpu::VertBuf &verts, const GPUVertFormat &format, uint v_len)
gpu::VertBuf * blender::GPU_vertbuf_create_on_device (const GPUVertFormat &format, uint v_len)
void blender::GPU_vertbuf_read (const gpu::VertBuf *verts, void *data)
void blender::GPU_vertbuf_clear (gpu::VertBuf *verts)
void blender::GPU_vertbuf_discard (gpu::VertBuf *)
void blender::GPU_vertbuf_handle_ref_add (gpu::VertBuf *verts)
void blender::GPU_vertbuf_handle_ref_remove (gpu::VertBuf *verts)
void blender::GPU_vertbuf_data_alloc (gpu::VertBuf &verts, uint v_len)
void blender::GPU_vertbuf_data_resize (gpu::VertBuf &verts, uint v_len)
void blender::GPU_vertbuf_data_len_set (gpu::VertBuf &verts, uint v_len)
void blender::GPU_vertbuf_attr_set (gpu::VertBuf *, uint a_idx, uint v_idx, const void *data)
void blender::GPU_vertbuf_attr_fill (gpu::VertBuf *, uint a_idx, const void *data)
void blender::GPU_vertbuf_vert_set (gpu::VertBuf *verts, uint v_idx, const void *data)
void blender::GPU_vertbuf_attr_fill_stride (gpu::VertBuf *, uint a_idx, uint stride, const void *data)
void blender::GPU_vertbuf_attr_get_raw_data (gpu::VertBuf *, uint a_idx, GPUVertBufRaw *access)
const GPUVertFormat * blender::GPU_vertbuf_get_format (const gpu::VertBuf *verts)
uint blender::GPU_vertbuf_get_vertex_alloc (const gpu::VertBuf *verts)
uint blender::GPU_vertbuf_get_vertex_len (const gpu::VertBuf *verts)
GPUVertBufStatus blender::GPU_vertbuf_get_status (const gpu::VertBuf *verts)
void blender::GPU_vertbuf_tag_dirty (gpu::VertBuf *verts)
uint blender::GPU_vertbuf_get_memory_usage ()
void blender::GPU_vertbuf_use (gpu::VertBuf *)
void blender::GPU_vertbuf_wrap_handle (gpu::VertBuf *verts, uint64_t handle)
void blender::GPU_vertbuf_bind_as_ssbo (gpu::VertBuf *verts, int binding)
void blender::GPU_vertbuf_bind_as_texture (gpu::VertBuf *verts, int binding)
void blender::GPU_vertbuf_update_sub (gpu::VertBuf *verts, uint start, uint len, const void *data)

Detailed Description

GPU vertex buffer

Definition in file gpu_vertex_buffer.cc.