Blender V4.5
gpu_vertex_format_private.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::gpu

Functions

void VertexFormat_pack (GPUVertFormat *format)
void VertexFormat_texture_buffer_pack (GPUVertFormat *format)
uint padding (uint offset, uint alignment)
uint vertex_buffer_size (const GPUVertFormat *format, uint vertex_len)
bool blender::gpu::is_fetch_normalized (VertAttrType attr_type)
bool blender::gpu::is_fetch_int_to_float (VertAttrType attr_type)
bool blender::gpu::is_fetch_float (VertAttrType attr_type)
int blender::gpu::format_component_len (const VertAttrType format)
int blender::gpu::to_bytesize (const VertAttrType format)

Detailed Description

GPU vertex format

Definition in file gpu_vertex_format_private.hh.

Function Documentation

◆ padding()

◆ vertex_buffer_size()

◆ VertexFormat_pack()

◆ VertexFormat_texture_buffer_pack()

void VertexFormat_texture_buffer_pack ( GPUVertFormat * format)

Definition at line 601 of file gpu_vertex_format.cc.

References BLI_assert_msg, i, and VertexFormat_pack_impl().

Referenced by blender::gpu::VertBuf::init().