Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | VertexFormat_pack (struct GPUVertFormat *format) |
uint | padding (uint offset, uint alignment) |
uint | vertex_buffer_size (const struct GPUVertFormat *format, uint vertex_len) |
GPU vertex format
Definition in file gpu_vertex_format_private.h.
Definition at line 290 of file gpu_vertex_format.cc.
Referenced by blender::gpu::GLImmediate::begin(), blender::ed::space_node::draw_draglink_tooltip(), gpu_texture_update_from_ibuf(), btDefaultSerializer::serializeName(), UI_block_layout(), ui_draw_menu_item(), VertexFormat_pack(), widget_menu_itembut(), wm_drag_draw_icon(), and wm_drag_draw_tooltip().
uint vertex_buffer_size | ( | const struct GPUVertFormat * | format, |
uint | vertex_len | ||
) |
void VertexFormat_pack | ( | struct GPUVertFormat * | format | ) |
Definition at line 309 of file gpu_vertex_format.cc.
References Freestyle::a, attr_align(), offset, GPUVertAttr::offset, padding(), and GPUVertAttr::size.
Referenced by GPU_vertformat_multiload_enable(), immBindShader(), and blender::gpu::VertBuf::init().