TypeDesc is a data type that is used in C++ programming language. It is a part of the OpenImageIO library. A TypeDesc object provides information about a data type, including its size, alignment, and how to interpret it.
This code snippet creates a TypeDesc object for an array of 3 integers. It then prints the size, alignment, used bits and array length of the TypeDesc object.
Package library: OpenImageIO
C++ (Cpp) TypeDesc - 30 examples found. These are the top rated real world C++ (Cpp) examples of TypeDesc extracted from open source projects. You can rate examples to help us improve the quality of examples.