#include <typeinfo>
#include "common/math/ugmath_types.h"
Go to the source code of this file.
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< bool >, "bool") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< byte >, "byte") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< char >, "char") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< double >, "double") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< float >, "float") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< int >, "int") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< uint >, "uint") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< vector1 >, "vector1") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< vector2 >, "vector2") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< vector3 >, "vector3") |
|
| ug::DECLARE_ATTACHMENT_INFO_TRAITS (Attachment< vector4 >, "vector4") |
|
◆ DECLARE_ATTACHMENT_INFO_TRAITS
#define DECLARE_ATTACHMENT_INFO_TRAITS |
( |
|
attachmentType, |
|
|
|
typeName |
|
) |
| |
Value: template <> struct attachment_info_traits<attachmentType> {\
static const char* type_name () {return typeName;}};