#include <opennurbs_mapchan.h>

Public Member Functions

 ON_MaterialRef ()
 
int Compare (const ON_MaterialRef &other) const
 
void Default ()
 
ON::object_material_source MaterialSource () const
 
bool Read (ON_BinaryArchive &archive)
 
void SetMaterialSource (ON::object_material_source)
 
bool Write (ON_BinaryArchive &archive) const
 

Public Attributes

ON_UUID m_material_backface_id
 If nil, then m_material_id is used for front and back faces. More...
 
int m_material_backface_index
 
ON_UUID m_material_id
 
int m_material_index
 
unsigned char m_material_source
 
ON_UUID m_plugin_id
 
unsigned char m_reserved1
 
unsigned char m_reserved2
 
unsigned char m_reserved3
 

Constructor & Destructor Documentation

◆ ON_MaterialRef()

ON_MaterialRef::ON_MaterialRef ( )

Member Function Documentation

◆ Compare()

int ON_MaterialRef::Compare ( const ON_MaterialRef other) const

◆ Default()

void ON_MaterialRef::Default ( )

◆ MaterialSource()

ON::object_material_source ON_MaterialRef::MaterialSource ( ) const

◆ Read()

bool ON_MaterialRef::Read ( ON_BinaryArchive archive)

◆ SetMaterialSource()

void ON_MaterialRef::SetMaterialSource ( ON::object_material_source  )

◆ Write()

bool ON_MaterialRef::Write ( ON_BinaryArchive archive) const

Member Data Documentation

◆ m_material_backface_id

ON_UUID ON_MaterialRef::m_material_backface_id

If nil, then m_material_id is used for front and back faces.

◆ m_material_backface_index

int ON_MaterialRef::m_material_backface_index

◆ m_material_id

ON_UUID ON_MaterialRef::m_material_id

◆ m_material_index

int ON_MaterialRef::m_material_index

◆ m_material_source

unsigned char ON_MaterialRef::m_material_source

◆ m_plugin_id

ON_UUID ON_MaterialRef::m_plugin_id

◆ m_reserved1

unsigned char ON_MaterialRef::m_reserved1

◆ m_reserved2

unsigned char ON_MaterialRef::m_reserved2

◆ m_reserved3

unsigned char ON_MaterialRef::m_reserved3