Blender V4.5
blender::geometry::MeshNormalInfo Struct Reference

Public Types

enum class  Output : int8_t { None , CornerFan , Free }

Public Member Functions

void add_no_custom_normals (const bke::MeshNormalDomain domain)
void add_corner_fan_normals ()
void add_domain (const bke::AttrDomain domain)
void add_free_normals (const bke::AttrDomain domain)
void add_mesh (const Mesh &mesh)

Public Attributes

Output result_type = Output::None
std::optional< bke::AttrDomainresult_domain

Detailed Description

Tracks the storage format for the resulting mesh based on the combination of input meshes.

Definition at line 232 of file realize_instances.cc.

Member Enumeration Documentation

◆ Output

Enumerator
None 
CornerFan 
Free 

Definition at line 233 of file realize_instances.cc.

Member Function Documentation

◆ add_corner_fan_normals()

void blender::geometry::MeshNormalInfo::add_corner_fan_normals ( )
inline

Definition at line 242 of file realize_instances.cc.

References add_domain(), blender::bke::Corner, CornerFan, and None.

Referenced by add_mesh().

◆ add_domain()

void blender::geometry::MeshNormalInfo::add_domain ( const bke::AttrDomain domain)
inline

◆ add_free_normals()

void blender::geometry::MeshNormalInfo::add_free_normals ( const bke::AttrDomain domain)
inline

Definition at line 263 of file realize_instances.cc.

References add_domain(), and Free.

Referenced by add_mesh().

◆ add_mesh()

◆ add_no_custom_normals()

void blender::geometry::MeshNormalInfo::add_no_custom_normals ( const bke::MeshNormalDomain domain)
inline

Definition at line 237 of file realize_instances.cc.

References add_domain(), and blender::geometry::normal_domain_to_domain().

Referenced by add_mesh().

Member Data Documentation

◆ result_domain

std::optional<bke::AttrDomain> blender::geometry::MeshNormalInfo::result_domain

◆ result_type

Output blender::geometry::MeshNormalInfo::result_type = Output::None

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