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 */
cogs
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition:
AabbHierarchy.h:8
cogs::DataType::FVEC3
2*float = glm::vec2.
cogs::GetDataTypeSize
COGS_API std::size_t GetDataTypeSize(const DataType &dtype)
Returns size of type denoted by DataType identifier.
cogs::DataType::UNKNOWN
undefined type
cogs::DataType::FVEC2
3*float = glm::vec3.
cogs::DataType::COLOR4F
cogs::Color4f
cogs::DataType::COLOR3F
cogs::Color3f
cogs::DataType::FLOAT
standard float.
cogs::DataType
DataType
Identifier of data types.
Definition:
DataType.h:11
libs
COGS
include
COGS
DataType.h
Generated by
1.8.13