|
Blender V5.0
|
#include <draw_cache_extract.hh>
Public Attributes | |
| int | visible_tris_num |
| Array< int > | tris_num_by_material |
| std::optional< Array< int > > | face_tri_offsets |
Definition at line 245 of file draw_cache_extract.hh.
| std::optional<Array<int> > blender::draw::SortedFaceData::face_tri_offsets |
The first triangle index for each face, sorted into slices by material. May be empty if the mesh only has a single material.
Definition at line 254 of file draw_cache_extract.hh.
Referenced by blender::draw::extract_tris_bmesh(), blender::draw::extract_tris_mesh(), and blender::draw::mesh_render_data_faces_sorted_build().
| Array<int> blender::draw::SortedFaceData::tris_num_by_material |
The number of visible triangles assigned to each material.
Definition at line 249 of file draw_cache_extract.hh.
Referenced by blender::draw::create_material_subranges(), and blender::draw::mesh_render_data_faces_sorted_build().
| int blender::draw::SortedFaceData::visible_tris_num |
Definition at line 247 of file draw_cache_extract.hh.
Referenced by blender::draw::extract_tris_bmesh(), blender::draw::extract_tris_mesh(), blender::draw::mesh_render_data_faces_sorted_build(), and blender::draw::mesh_render_data_faces_sorted_ensure().