ug4
attachment_info_traits.h File Reference
#include <typeinfo>
#include "common/math/ugmath_types.h"

Go to the source code of this file.

Classes

struct  ug::attachment_info_traits< TAttachment >
 

Namespaces

 ug
 the ug namespace
 

Macros

#define DECLARE_ATTACHMENT_INFO_TRAITS(attachmentType, typeName)
 

Functions

 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")
 

Macro Definition Documentation

◆ 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;}};