![]() |
MaterialX 1.39.4
|
Class handling registration, storage and query of type descriptions. More...
#include <TypeDesc.h>
Public Member Functions | |
| void | registerType (TypeDesc type) |
| Register an existing type decription. | |
| void | registerType (const string &name, uint8_t basetype, uint8_t semantic, uint16_t size, StructMemberDescVecPtr members=nullptr) |
| Create and register a new type description. | |
| TypeDesc | getType (const string &name) const |
| Return a type description by name. | |
| const TypeDescVec & | getTypes () const |
| Return all registered type descriptions. | |
Static Public Member Functions | |
| static TypeSystemPtr | create () |
| Create a new type system. | |
Class handling registration, storage and query of type descriptions.
| TypeDesc getType | ( | const string & | name | ) | const |
Return a type description by name.
If no type is found Type::NONE is returned.