|
Blender
V2.93
|
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 332 of file gpu_vertex_format.cc.
References mod().
Referenced by blender::gpu::GLImmediate::begin(), gpu_texture_update_from_ibuf(), p_smooth(), btDefaultSerializer::serializeName(), UI_block_layout(), ui_draw_menu_item(), VertexFormat_pack(), and wm_drags_draw().
| uint vertex_buffer_size | ( | const struct GPUVertFormat * | format, |
| uint | vertex_len | ||
| ) |
| void VertexFormat_pack | ( | struct GPUVertFormat * | format | ) |
Definition at line 351 of file gpu_vertex_format.cc.
References Freestyle::a, attr_align(), GPUVertAttr::offset, padding(), and GPUVertAttr::sz.
Referenced by GPU_vertformat_multiload_enable(), immBindShader(), and blender::gpu::VertBuf::init().