Blender V4.3
blender::geometry::MeshRealizeInfo Struct Reference

Public Attributes

const Meshmesh = nullptr
 
Span< float3positions
 
Span< int2edges
 
OffsetIndices< intfaces
 
Span< intcorner_verts
 
Span< intcorner_edges
 
Array< intmaterial_index_map
 
Array< std::optional< GVArraySpan > > attributes
 
Span< intstored_vertex_ids
 
VArray< intmaterial_indices
 

Detailed Description

Definition at line 96 of file realize_instances.cc.

Member Data Documentation

◆ attributes

Array<std::optional<GVArraySpan> > blender::geometry::MeshRealizeInfo::attributes

Matches the order in AllMeshesInfo.attributes.

Definition at line 107 of file realize_instances.cc.

Referenced by blender::geometry::preprocess_meshes().

◆ corner_edges

Span<int> blender::geometry::MeshRealizeInfo::corner_edges

◆ corner_verts

Span<int> blender::geometry::MeshRealizeInfo::corner_verts

◆ edges

Span<int2> blender::geometry::MeshRealizeInfo::edges

◆ faces

OffsetIndices<int> blender::geometry::MeshRealizeInfo::faces

◆ material_index_map

Array<int> blender::geometry::MeshRealizeInfo::material_index_map

Maps old material indices to new material indices.

Definition at line 105 of file realize_instances.cc.

Referenced by blender::geometry::preprocess_meshes().

◆ material_indices

VArray<int> blender::geometry::MeshRealizeInfo::material_indices

Definition at line 110 of file realize_instances.cc.

Referenced by blender::geometry::preprocess_meshes().

◆ mesh

const Mesh* blender::geometry::MeshRealizeInfo::mesh = nullptr

◆ positions

Span<float3> blender::geometry::MeshRealizeInfo::positions

◆ stored_vertex_ids

Span<int> blender::geometry::MeshRealizeInfo::stored_vertex_ids

Vertex ids stored on the mesh. If there are no ids, this #Span is empty.

Definition at line 109 of file realize_instances.cc.

Referenced by blender::geometry::preprocess_meshes().


The documentation for this struct was generated from the following file: