HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OIIO_TypeDesc Struct Reference

#include <c-typedesc.h>

Public Attributes

unsigned char basetype
 
unsigned char aggregate
 
unsigned char vecsemantics
 
unsigned char reserved
 
int arraylen
 

Detailed Description

A TypeDesc describes simple data types.

It frequently comes up (in my experience, with renderers and image handling programs) that you want a way to describe data that is passed through APIs through blind pointers. These are some simple classes that provide a simple type descriptor system. This is not meant to be comprehensive – for example, there is no provision for structs, unions, pointers, const, or 'nested' type definitions. Just simple integer and floating point, common OIIO_AGGREGATEs such as 3-points, and reasonably-lengthed arrays thereof.

Definition at line 96 of file c-typedesc.h.

Member Data Documentation

unsigned char OIIO_TypeDesc::aggregate

Definition at line 98 of file c-typedesc.h.

int OIIO_TypeDesc::arraylen

Definition at line 101 of file c-typedesc.h.

unsigned char OIIO_TypeDesc::basetype

Definition at line 97 of file c-typedesc.h.

unsigned char OIIO_TypeDesc::reserved

Definition at line 100 of file c-typedesc.h.

unsigned char OIIO_TypeDesc::vecsemantics

Definition at line 99 of file c-typedesc.h.


The documentation for this struct was generated from the following file: