44 #include <glm/gtc/round.hpp>
45 #include <glm/gtx/component_wise.hpp>
46 #include <glm/gtx/gradient_paint.hpp>
47 #include <glm/gtx/integer.hpp>
48 #include <glm/gtx/bit.hpp>
49 #include <glm/gtx/raw_data.hpp>
50 #include <glm/gtx/wrap.hpp>
52 static_assert(GLM_VERSION >= 97,
"GLI requires at least GLM 0.9.7");
80 layer_type
const & Layers,
81 face_type
const & Faces,
82 level_type
const & Levels,
83 format_type
const & Format,
84 dim_type
const & Dimensions);
87 size_type
size()
const;
88 format_type
format()
const;
91 face_type
faces()
const;
94 dim_type
dimensions(size_type
const & Level)
const;
97 data_type
const *
data()
const;
100 level_type
const & Level)
const;
102 level_type
const & BaseLevel,
103 level_type
const & MaxLevel)
const;
105 face_type
const & BaseFace,
106 face_type
const & MaxFace,
107 level_type
const & BaseLevel,
108 level_type
const & MaxLevel)
const;
116 layer_type
const & Layers,
117 face_type
const & Faces,
118 level_type
const & Levels,
119 format_type
const & Format,
120 dim_type
const & Dimensions);
122 size_type
const Layers;
123 size_type
const Faces;
124 size_type
const Levels;
125 format_type
const Format;
126 dim_type
const Dimensions;
127 std::vector<data_type> Data;
130 std::shared_ptr<impl> Impl;
181 #include "storage.inl"
glm::tvec2< size_t > dim2_t
glm::tvec1< size_t > dim1_t
glm::tvec4< size_t > dim4_t
texcoord1_t texcoord1_type
texcoord2_t texcoord2_type
OpenGL Image (gli.g-truc.net)
level_type levels() const
texcoord4_t texcoord4_type
size_type level_size(level_type const &Level) const
format_type format() const
OpenGL Image (gli.g-truc.net)
dim_type dimensions(size_type const &Level) const
swizzle_type swizzle() const
glm::tvec3< size_t > dim3_t
texcoord3_t texcoord3_type
layer_type layers() const
size_type face_size(level_type const &BaseLevel, level_type const &MaxLevel) const
size_type layer_size(face_type const &BaseFace, face_type const &MaxFace, level_type const &BaseLevel, level_type const &MaxLevel) const