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 |
compact type description of data that can be sent to the context; convertible to int
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
cgv::type::info::TypeId cgv::render::type_descriptor::coordinate_type |
ElementType cgv::render::type_descriptor::element_type |