|
Blender V5.0
|
#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 | |
| blender::gpu::VertAttrType | format |
Definition at line 188 of file GPU_vertex_format.hh.
|
inline |
Definition at line 196 of file GPU_vertex_format.hh.
References format.
Referenced by bind_attribute_as_ssbo(), blender::gpu::MTLImmediate::end(), blender::gpu::Immediate::polyline_draw_workaround(), pygpu_fill_format_sequence(), pygpu_vertbuf_fill_impl(), blender::gpu::to_binding_location_len(), and blender::gpu::vbo_bind().
| GPUVertCompType GPUVertAttr::Type::comp_type | ( | ) | const |
Definition at line 285 of file gpu_vertex_format.cc.
References BLI_assert_unreachable, format, GPU_COMP_F32, GPU_COMP_I10, GPU_COMP_I16, GPU_COMP_I32, GPU_COMP_I8, GPU_COMP_U16, GPU_COMP_U32, GPU_COMP_U8, and blender::gpu::Invalid.
Referenced by blender::gpu::MTLImmediate::end(), pygpu_shader_check_compatibility(), and blender::gpu::vbo_bind().
| GPUVertFetchMode GPUVertAttr::Type::fetch_mode | ( | ) | const |
Definition at line 274 of file gpu_vertex_format.cc.
References format, GPU_FETCH_FLOAT, GPU_FETCH_INT, GPU_FETCH_INT_TO_FLOAT_UNIT, blender::gpu::is_fetch_float(), and blender::gpu::is_fetch_normalized().
Referenced by blender::gpu::MTLImmediate::end(), polyline_draw_workaround(), pygpu_shader_check_compatibility(), and blender::gpu::vbo_bind().
|
inline |
Definition at line 191 of file GPU_vertex_format.hh.
References format.
Referenced by bind_attribute_as_ssbo(), GPU_vertbuf_attr_fill(), GPU_vertbuf_attr_fill_stride(), GPU_vertbuf_attr_get_raw_data(), GPU_vertbuf_attr_set(), immEndVertex(), blender::gpu::vbo_bind(), and VertexFormat_pack().
| blender::gpu::VertAttrType GPUVertAttr::Type::format |
Definition at line 189 of file GPU_vertex_format.hh.
Referenced by GPUVertFormat::attribute_add(), comp_len(), comp_type(), blender::gpu::MTLImmediate::end(), fetch_mode(), immAttr1f(), immAttr1u(), immAttr2f(), immAttr2i(), immAttr3f(), immAttr4f(), immAttr4ub(), blender::gpu::Immediate::polyline_draw_workaround(), polyline_draw_workaround(), and size().