Blender V5.3
blender::io::MeshCoerceForExport Struct Reference

#include <IO_mesh_utils.hh>

Public Member Functions

 ~MeshCoerceForExport ()

Public Attributes

const Mesh * mesh = nullptr
Mesh * owned = nullptr

Detailed Description

Conditionally coerce objects to mesh for export. For use by formats that only support meshes.

Definition at line 23 of file IO_mesh_utils.hh.

Constructor & Destructor Documentation

◆ ~MeshCoerceForExport()

blender::io::MeshCoerceForExport::~MeshCoerceForExport ( )

Definition at line 47 of file mesh_utils.cc.

References blender::BKE_id_free(), and owned.

Member Data Documentation

◆ mesh

const Mesh* blender::io::MeshCoerceForExport::mesh = nullptr

Mesh to read geometry from, referencing evaluated, pre-modified or owned data.

The same as owned when a conversion was performed.

Definition at line 29 of file IO_mesh_utils.hh.

Referenced by blender::io::mesh_coerce_for_export_setup().

◆ owned

Mesh* blender::io::MeshCoerceForExport::owned = nullptr

Mesh converted from a non-mesh, or null.

Definition at line 33 of file IO_mesh_utils.hh.

Referenced by blender::io::usd::USDMeshWriter::get_export_mesh(), blender::io::mesh_coerce_for_export_setup(), and ~MeshCoerceForExport().


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