################
HMaterialLibrary
################

.. cpp:namespace:: HMaterialLibrary

.. default-domain:: cpp

Types
=====

=== =================================================
..  :cpp:enumerator:`~HMaterialLibrary::Read_Flags`  
..  :cpp:enumerator:`~HMaterialLibrary::Write_Flags` 
=== =================================================

Fields
======

=== =========================================================
..  :cpp:enum:`~HMaterialLibrary::Read_Flags_Default`        
..  :cpp:enum:`~HMaterialLibrary::Prefer_Embedded`           
..  :cpp:enum:`~HMaterialLibrary::Prefer_Highest_Resolution` 
..  :cpp:enum:`~HMaterialLibrary::Write_Flags_Default`       
..  :cpp:enum:`~HMaterialLibrary::Embedded`                  
=== =========================================================

Functions
=========

================================================= ==========================================================================================================================================================
..                                                :cpp:func:`HMaterialLibrary <HMaterialLibrary::HMaterialLibrary>`                                                                                         
..                                                :cpp:func:`~HMaterialLibrary <virtual HMaterialLibrary::~HMaterialLibrary>`                                                                               
bool                                              :cpp:func:`RegisterMaterials <bool HMaterialLibrary::RegisterMaterials(char const *directory)>`                                                           
bool                                              :cpp:func:`RegisterMaterials <bool HMaterialLibrary::RegisterMaterials(wchar_t const *directory)>`                                                        
bool                                              :cpp:func:`IsValid <bool HMaterialLibrary::IsValid() const>`                                                                                              
bool                                              :cpp:func:`ApplyStyles <bool HMaterialLibrary::ApplyStyles()>`                                                                                            
char const *                                      :cpp:func:`GetContainerSegment <char const  * HMaterialLibrary::GetContainerSegment() const>`                                                             
char const *                                      :cpp:func:`GetMaterialList <char const  * HMaterialLibrary::GetMaterialList(char *buffer=0, int buffer_length=-1)>`                                       
bool                                              :cpp:func:`IsValidMaterial <bool HMaterialLibrary::IsValidMaterial(char const *name) const>`                                                              
bool                                              :cpp:func:`ApplyMaterial <bool HMaterialLibrary::ApplyMaterial(char const *name)>`                                                                        
bool                                              :cpp:func:`ReloadMaterial <bool HMaterialLibrary::ReloadMaterial(char const *name)>`                                                                      
bool                                              :cpp:func:`CloneMaterial <bool HMaterialLibrary::CloneMaterial(char const *old_material_name, char *new_material_name)>`                                  
bool                                              :cpp:func:`RenameMaterial <bool HMaterialLibrary::RenameMaterial(char const *old_material_name, char const *new_material_name)>`                          
bool                                              :cpp:func:`GetTweakablesCount <bool HMaterialLibrary::GetTweakablesCount(char const *material_name, int *count)>`                                         
bool                                              :cpp:func:`GetTweakableByIndex <bool HMaterialLibrary::GetTweakableByIndex(char const *material_name, int index, char *tweakable_name, char *type)>`      
bool                                              :cpp:func:`GetTweakableByName <bool HMaterialLibrary::GetTweakableByName(char const *material_name, char const *tweakable_name, int *index, char *type)>` 
int                                               :cpp:func:`CountFromType <int HMaterialLibrary::CountFromType(char const *type)>`                                                                         
bool                                              :cpp:func:`GetTweakableDefaults <bool HMaterialLibrary::GetTweakableDefaults(char const *material_name, int index, float *vals)>`                         
bool                                              :cpp:func:`Tweak <bool HMaterialLibrary::Tweak(char const *material_name, int index, float const *vals)>`                                                 
bool                                              :cpp:func:`Tweak <bool HMaterialLibrary::Tweak(char const *material_name, int index, float val0, float val1=0, float val2=0, float val3=0)>`              
char const *                                      :cpp:func:`GetEnvironmentList <char const  * HMaterialLibrary::GetEnvironmentList(char *buffer=0, int buffer_length=-1)>`                                 
bool                                              :cpp:func:`IsValidEnvironment <bool HMaterialLibrary::IsValidEnvironment(char const *name) const>`                                                        
bool                                              :cpp:func:`SetEnvironment <bool HMaterialLibrary::SetEnvironment(char const *name)>`                                                                      
bool                                              :cpp:func:`EnsureMaterialInitialized <bool HMaterialLibrary::EnsureMaterialInitialized(char const *name)>`                                                
bool                                              :cpp:func:`EnsureEnvironmentInitialized <bool HMaterialLibrary::EnsureEnvironmentInitialized(char const *name)>`                                          
bool                                              :cpp:func:`FindReferencedMaterials <bool HMaterialLibrary::FindReferencedMaterials(HC_KEY segment_tree, char *list, int list_size)>`                      
bool                                              :cpp:func:`InitWrite <bool HMaterialLibrary::InitWrite(char const *list, int *size)>`                                                                     
bool                                              :cpp:func:`InitRead <bool HMaterialLibrary::InitRead(int version)>`                                                                                       
TK_Status                                         :cpp:func:`ParseBuffer <TK_Status HMaterialLibrary::ParseBuffer(char const *buffer, int size)>`                                                           
char const *                                      :cpp:func:`GetCurrentEnvironment <char const  * HMaterialLibrary::GetCurrentEnvironment(char *buffer=0, int buffer_length=-1)>`                           
bool                                              :cpp:func:`Compile <bool HMaterialLibrary::Compile(char const *name)>`                                                                                    
void                                              :cpp:func:`SetReadFlags <void HMaterialLibrary::SetReadFlags(Read_Flags flags)>`                                                                          
:cpp:enumerator:`~HMaterialLibrary::Read_Flags`   :cpp:func:`GetReadFlags <Read_Flags HMaterialLibrary::GetReadFlags()>`                                                                                    
void                                              :cpp:func:`SetWriteFlags <void HMaterialLibrary::SetWriteFlags(Write_Flags flags)>`                                                                       
:cpp:enumerator:`~HMaterialLibrary::Write_Flags`  :cpp:func:`GetWriteFlags <Write_Flags HMaterialLibrary::GetWriteFlags()>`                                                                                 
================================================= ==========================================================================================================================================================

.. cpp:namespace:: nullptr

Detailed Description
====================

.. doxygenclass:: HMaterialLibrary
   :project: mvo
   :members:
   :undoc-members:



