|
Blender V5.3
|
#include <GPU_vertex_format.hh>
Public Member Functions | |
| size_t | size () const |
| int | comp_len () const |
| GPUVertFetchMode | fetch_mode () const |
| GPUVertCompType | comp_type () const |
Public Attributes | |
| gpu::VertAttrType | format |
Definition at line 193 of file GPU_vertex_format.hh.
|
inline |
Definition at line 201 of file GPU_vertex_format.hh.
References format, blender::gpu::format_component_len(), and blender::gpu::to_data_format().
Referenced by blender::bind_attribute_as_ssbo(), blender::gpu::Immediate::polyline_draw_workaround(), blender::pygpu_fill_format_sequence(), blender::pygpu_vertbuf_fill_impl(), and blender::gpu::vbo_bind().
| GPUVertCompType blender::GPUVertAttr::Type::comp_type | ( | ) | const |
Definition at line 286 of file gpu_vertex_format.cc.
References BLI_assert_unreachable, format, blender::GPU_COMP_F32, blender::GPU_COMP_I10, blender::GPU_COMP_I16, blender::GPU_COMP_I32, blender::GPU_COMP_I8, blender::GPU_COMP_U16, blender::GPU_COMP_U32, and blender::GPU_COMP_U8.
Referenced by blender::pygpu_shader_check_compatibility(), and blender::gpu::vbo_bind().
| GPUVertFetchMode blender::GPUVertAttr::Type::fetch_mode | ( | ) | const |
Definition at line 275 of file gpu_vertex_format.cc.
References format, blender::GPU_FETCH_FLOAT, blender::GPU_FETCH_INT, blender::GPU_FETCH_INT_TO_FLOAT_UNIT, blender::gpu::is_fetch_float(), and blender::gpu::is_fetch_normalized().
Referenced by blender::polyline_draw_workaround(), blender::pygpu_shader_check_compatibility(), and blender::gpu::vbo_bind().
|
inline |
Definition at line 196 of file GPU_vertex_format.hh.
References format, blender::gpu::to_bytesize(), and blender::gpu::to_data_format().
Referenced by blender::bind_attribute_as_ssbo(), blender::GPU_vertbuf_attr_fill(), blender::GPU_vertbuf_attr_fill_stride(), blender::GPU_vertbuf_attr_get_raw_data(), blender::GPU_vertbuf_attr_set(), blender::immEndVertex(), blender::gpu::vbo_bind(), and blender::VertexFormat_pack().
| gpu::VertAttrType blender::GPUVertAttr::Type::format |
Definition at line 194 of file GPU_vertex_format.hh.
Referenced by blender::GPUVertFormat::attribute_add(), comp_len(), comp_type(), fetch_mode(), blender::immAttr1f(), blender::immAttr1u(), blender::immAttr2f(), blender::immAttr2i(), blender::immAttr3f(), blender::immAttr4f(), blender::immAttr4ub(), blender::gpu::Immediate::polyline_draw_workaround(), blender::polyline_draw_workaround(), and size().