cgv
cgv::render::type_descriptor Struct Reference

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
 

Detailed Description

compact type description of data that can be sent to the context; convertible to int


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