GLI 0.6.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

type.hpp
Go to the documentation of this file.
1
29 #pragma once
30
31 // STD
32 #include <cstddef>
33
34 // GLM
35 #define GLM_FORCE_EXPLICIT_CTOR
36 #include <glm/glm.hpp>
37 #include <glm/gtc/vec1.hpp>
38 #include <glm/gtx/std_based_type.hpp>
39
40 // GLI
41 #include "format.hpp"
42
43 namespace gli
44 {
45 using std::size_t;
46
47 typedef glm::tvec1<size_t> dim1_t;
48 typedef glm::tvec2<size_t> dim2_t;
49 typedef glm::tvec3<size_t> dim3_t;
50 typedef glm::tvec4<size_t> dim4_t;
51 typedef glm::vec1 texcoord1_t;
52 typedef glm::vec2 texcoord2_t;
53 typedef glm::vec3 texcoord3_t;
54 typedef glm::vec4 texcoord4_t;
55
56 typedef std::size_t layer_t;
57 typedef std::size_t level_t;
58 typedef std::size_t face_t;
59
60 typedef glm::tvec4<int> swizzle_t;
61 }//namespace gli
gli::texcoord3_t
glm::vec3 texcoord3_t
Definition: type.hpp:53
gli::texcoord4_t
glm::vec4 texcoord4_t
Definition: type.hpp:54
gli::dim2_t
glm::tvec2< size_t > dim2_t
Definition: type.hpp:48
gli::dim1_t
glm::tvec1< size_t > dim1_t
Definition: type.hpp:47
gli::dim4_t
glm::tvec4< size_t > dim4_t
Definition: type.hpp:50
format.hpp
OpenGL Image (gli.g-truc.net)
gli::texcoord2_t
glm::vec2 texcoord2_t
Definition: type.hpp:52
gli
Definition: addressing.hpp:33
gli::face_t
std::size_t face_t
Definition: type.hpp:58
gli::texcoord1_t
glm::vec1 texcoord1_t
Definition: type.hpp:51
gli::level_t
std::size_t level_t
Definition: type.hpp:57
gli::layer_t
std::size_t layer_t
Definition: type.hpp:56
gli::dim3_t
glm::tvec3< size_t > dim3_t
Definition: type.hpp:49
gli::swizzle_t
glm::tvec4< int > swizzle_t
Definition: type.hpp:60