|
Blender V4.3
|
#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 201 of file draw_cache_extract.hh.
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 210 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().
The number of visible triangles assigned to each material.
Definition at line 205 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 203 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().