| 
    HDK
    
   | 
 
A class that manages material assignments to different groups of primitives. More...
#include <GR_MaterialGroups.h>
Public Member Functions | |
| GR_MaterialGroups () | |
| ~GR_MaterialGroups () | |
| int | getNumGroups () const | 
| bool | isGroupVisible (int i) const | 
| RE_MaterialPtr | getGroupMaterial (int group_index, const RE_MaterialAtlas &atlas, int default_material=-1) const | 
| GR_MaterialPtr | getGroupMaterial (int group_index, const GR_MaterialAtlas &atlas, int default_material=-1) const | 
| int | getGroupMaterialID (int group_index, int default_material) const | 
| int | getGroupUnmappedID (int group_index) const | 
| void | resetGroups () | 
| void | appendGroup (int mat_id) | 
| void | setNumGroups (int num) | 
| void | setGroupVisibility (int group_index, bool visible) | 
| void | setAllGroupsVisible (bool visible=true) | 
| void | setGroupMaterial (int group_index, int mat_id) | 
| void | updateMaterialRemap (const GT_PrimitiveHandle &for_prim) | 
A class that manages material assignments to different groups of primitives.
Definition at line 26 of file GR_MaterialGroups.h.
| GR_MaterialGroups::GR_MaterialGroups | ( | ) | 
| GR_MaterialGroups::~GR_MaterialGroups | ( | ) | 
Definition at line 48 of file GR_MaterialGroups.h.
| RE_MaterialPtr GR_MaterialGroups::getGroupMaterial | ( | int | group_index, | 
| const RE_MaterialAtlas & | atlas, | ||
| int | default_material = -1  | 
        ||
| ) | const | 
| GR_MaterialPtr GR_MaterialGroups::getGroupMaterial | ( | int | group_index, | 
| const GR_MaterialAtlas & | atlas, | ||
| int | default_material = -1  | 
        ||
| ) | const | 
Definition at line 44 of file GR_MaterialGroups.h.
      
  | 
  inline | 
Definition at line 32 of file GR_MaterialGroups.h.
      
  | 
  inline | 
Definition at line 33 of file GR_MaterialGroups.h.
      
  | 
  inline | 
Definition at line 47 of file GR_MaterialGroups.h.
| void GR_MaterialGroups::setAllGroupsVisible | ( | bool | visible = true | ) | 
Definition at line 57 of file GR_MaterialGroups.h.
Definition at line 53 of file GR_MaterialGroups.h.
Definition at line 51 of file GR_MaterialGroups.h.
| void GR_MaterialGroups::updateMaterialRemap | ( | const GT_PrimitiveHandle & | for_prim | ) |