COGS
Computer Graphics Structures library
DataType.h
1 #ifndef COGS_DATA_TYPE_H
2 #define COGS_DATA_TYPE_H
3 #include <COGS/API.h>
4 #include <cstddef>
5 
6 
7 
8 namespace cogs
9 {
11  enum class DataType
12  {
14  UNKNOWN,
16  FLOAT,
18  FVEC3,
20  FVEC2,
22  COLOR3F,
24  COLOR4F
25  };
26 
28  COGS_API std::size_t GetDataTypeSize(const DataType &dtype);
29 }
30 #endif /* !COGS_DATA_TYPE_H */
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
2*float = glm::vec2.
COGS_API std::size_t GetDataTypeSize(const DataType &dtype)
Returns size of type denoted by DataType identifier.
3*float = glm::vec3.
standard float.
DataType
Identifier of data types.
Definition: DataType.h:11