|
cgv
|
compact type description of data that can be sent to the context; convertible to int More...
#include <context.h>
Public Member Functions | |
| type_descriptor (int td=0) | |
| construct from int | |
| type_descriptor (cgv::type::info::TypeId _coordinate_type, bool _normalize=false) | |
| construct descriptor for values | |
| type_descriptor (cgv::type::info::TypeId _coordinate_type, unsigned _nr_entries, bool _normalize=false) | |
| construct descriptor for vectors | |
| type_descriptor (cgv::type::info::TypeId _coordinate_type, unsigned _nr_rows, unsigned _nr_cols, bool _is_row_major, bool _normalize=false) | |
| construct descriptor for matrices | |
| type_descriptor (const type_descriptor &td, bool _is_array) | |
| construct descriptor for an array | |
| operator int () const | |
| cast to int | |
Public Attributes | |
| cgv::type::info::TypeId | coordinate_type: 8 |
| ElementType | element_type: 4 |
| unsigned | nr_rows: 4 |
| unsigned | nr_columns: 4 |
| bool | is_row_major: 1 |
| bool | is_array: 1 |
| bool | normalize: 1 |
Friends | |
| CGV_API std::ostream & | operator<< (std::ostream &, const type_descriptor &) |
| operator to write textual description to stream | |
compact type description of data that can be sent to the context; convertible to int
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
operator to write textual description to stream
Definition at line 29 of file context.cxx.
| cgv::type::info::TypeId cgv::render::type_descriptor::coordinate_type |
| ElementType cgv::render::type_descriptor::element_type |