Models::ModelNodeType Class Reference
#include <modelnodetype.h>
Detailed Description
ModelNodeTypes identify a ModelNode for a specific rendering pass. Works the same as shader features, there is no hardcoded set of ModelNodeTypes, but there is a central registry which converts string into binary indices, and guarantees that the returned indices for a name are the same for the lifetime of the application.(C) 2007 Radon Labs GmbH
Public Types | |
| typedef Util::StringAtom | Name |
| human readable name of a ModelNodeType | |
| typedef IndexT | Code |
| binary code for a ModelNodeType | |
Static Public Member Functions | |
| static Code | FromName (const Name &name) |
| convert from string | |
| static Name | ToName (Code c) |
| convert to string | |
Static Public Attributes | |
| static const IndexT | MaxNumModelNodeTypes = 16 |
| maximum number of different ModelNodeTypes | |
| static const IndexT | InvalidModelNodeType = InvalidIndex |
| invalid model node type code | |