HDK
|
Go to the source code of this file.
Classes | |
struct | OIIO_TypeDesc |
Functions | |
OIIOC_API OIIO_TypeDesc | OIIO_TypeDesc_from_string (const char *typestring) |
enum OIIO_AGGREGATE |
OIIO_AGGREGATE describes whether our TypeDesc is a simple scalar of one of the OIIO_BASETYPE's, or one of several simple OIIO_AGGREGATEs.
Note that OIIO_AGGREGATEs and arrays are different. A TypeDesc(FLOAT,3)
is an array of three floats, a TypeDesc(FLOAT,VEC3)
is a single 3-component vector comprised of floats, and TypeDesc(FLOAT,3,VEC3)
is an array of 3 vectors, each of which is comprised of 3 floats.
Definition at line 54 of file c-typedesc.h.
enum OIIO_BASETYPE |
OIIO_BASETYPE is a simple enum describing the base data types that correspond (mostly) to the C/C++ built-in types.
Definition at line 14 of file c-typedesc.h.
enum OIIO_VECSEMANTICS |
OIIO_VECSEMANTICS gives hints about what the data represent (for example, if a spatial vector quantity should transform as a point, direction vector, or surface normal).
Definition at line 68 of file c-typedesc.h.
OIIOC_API OIIO_TypeDesc OIIO_TypeDesc_from_string | ( | const char * | typestring | ) |
Construct from a string (e.g., "float[3]"). If no valid type could be assembled, set basetype to OIIO_BASETYPE_UNKNOWN.
Examples: ``` TypeDesc_from_string("int") == OIIO_TypeInt // C++ int32_t TypeDesc_from_string("float") == OIIO_TypeFloat // C++ float TypeDesc_from_string("uint16") == OIIO_TYPEUInt16 // C++ uint16_t TypeDesc_from_string("float[4]") == FIXME: unimplemented! ```
OIIOC_API OIIO_TypeDesc OIIO_TypeColor |
OIIOC_API OIIO_TypeDesc OIIO_TypeFloat |
OIIOC_API OIIO_TypeDesc OIIO_TypeFloat2 |
OIIOC_API OIIO_TypeDesc OIIO_TypeFloat4 |
OIIOC_API OIIO_TypeDesc OIIO_TypeHalf |
OIIOC_API OIIO_TypeDesc OIIO_TypeInt |
OIIOC_API OIIO_TypeDesc OIIO_TypeInt16 |
OIIOC_API OIIO_TypeDesc OIIO_TypeInt32 |
OIIOC_API OIIO_TypeDesc OIIO_TypeInt8 |
OIIOC_API OIIO_TypeDesc OIIO_TypeKeycode |
OIIOC_API OIIO_TypeDesc OIIO_TypeMatrix |
OIIOC_API OIIO_TypeDesc OIIO_TypeMatrix33 |
OIIOC_API OIIO_TypeDesc OIIO_TypeMatrix44 |
OIIOC_API OIIO_TypeDesc OIIO_TypeNormal |
OIIOC_API OIIO_TypeDesc OIIO_TypePoint |
OIIOC_API OIIO_TypeDesc OIIO_TypePointer |
OIIOC_API OIIO_TypeDesc OIIO_TypeRational |
OIIOC_API OIIO_TypeDesc OIIO_TypeString |
OIIOC_API OIIO_TypeDesc OIIO_TypeTimecode |
OIIOC_API OIIO_TypeDesc OIIO_TypeUInt |
OIIOC_API OIIO_TypeDesc OIIO_TypeUInt16 |
OIIOC_API OIIO_TypeDesc OIIO_TypeUInt32 |
OIIOC_API OIIO_TypeDesc OIIO_TypeUInt8 |
OIIOC_API OIIO_TypeDesc OIIO_TypeUnknown |
OIIOC_API OIIO_TypeDesc OIIO_TypeVector |
OIIOC_API OIIO_TypeDesc OIIO_TypeVector2 |
OIIOC_API OIIO_TypeDesc OIIO_TypeVector2i |
OIIOC_API OIIO_TypeDesc OIIO_TypeVector4 |