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");
69 size_type
const & Layers,
70 size_type
const & Faces,
71 size_type
const & Levels,
72 format_type
const & Format,
73 dim_type
const & Dimensions);
76 size_type
size()
const;
77 format_type
format()
const;
80 size_type
faces()
const;
83 dim_type
dimensions(size_type
const & Level)
const;
86 data_type
const *
data()
const;
89 size_type
const & Level)
const;
91 size_type
const & BaseLevel,
92 size_type
const & MaxLevel)
const;
94 size_type
const & BaseFace,
95 size_type
const & MaxFace,
96 size_type
const & BaseLevel,
97 size_type
const & MaxLevel)
const;
105 size_type
const & Layers,
106 size_type
const & Faces,
107 size_type
const & Levels,
108 format_type
const & Format,
109 dim_type
const & Dimensions);
111 size_type
const Layers;
112 size_type
const Faces;
113 size_type
const Levels;
114 format_type
const Format;
115 dim_type
const Dimensions;
116 std::vector<data_type> Data;
119 std::shared_ptr<impl> Impl;
170 #include "storage.inl"
size_type layer_size(size_type const &BaseFace, size_type const &MaxFace, size_type const &BaseLevel, size_type const &MaxLevel) const
OpenGL Image (gli.g-truc.net)
size_type face_size(size_type const &BaseLevel, size_type const &MaxLevel) const
OpenGL Image (gli.g-truc.net)
size_type level_size(size_type const &Level) const
glm::tvec3< size_t > dim3_t
format_type format() const
dim_type dimensions(size_type const &Level) const
swizzle_type swizzle() const