Blender V5.0
blender::geometry::MeshRealizeInfo Struct Reference

Public Attributes

const Meshmesh = nullptr
Span< float3positions
Span< int2edges
OffsetIndices< int > faces
Span< int > corner_verts
Span< int > corner_edges
Array< int > material_index_map
Array< std::optional< GVArraySpan > > attributes
Span< int > stored_vertex_ids
VArray< int > material_indices
GVArraySpan custom_normal

Detailed Description

Definition at line 98 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 109 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

◆ custom_normal

GVArraySpan blender::geometry::MeshRealizeInfo::custom_normal

Custom normals are rotated based on each instance's transformation.

Definition at line 114 of file realize_instances.cc.

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

◆ 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 107 of file realize_instances.cc.

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

◆ material_indices

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

Definition at line 112 of file realize_instances.cc.

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

◆ mesh

◆ 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 111 of file realize_instances.cc.

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


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