31 #include "Utilities/STL/MxString.h" 37 using BindableId =
unsigned int;
38 using CubeMapId = BindableId;
40 size_t width = 0, height = 0, channels = 0;
42 mutable CubeMapId activeId = 0;
46 CubeMap(
const MxString filepath,
bool genMipmaps =
true,
bool flipImage =
false);
55 BindableId GetNativeHandle()
const;
56 void Bind(CubeMapId
id)
const;
57 void Load(
const MxString& filepath,
bool genMipmaps =
true,
bool flipImage =
false);
58 void Load(std::array<uint8_t*, 6> data,
int width,
int height,
bool genMipmaps =
true);
59 void LoadDepth(
int width,
int height);
60 const MxString& GetPath()
const;
61 size_t GetWidth()
const;
62 size_t GetHeight()
const;
63 size_t GetChannelCount()
const;
Definition: Application.cpp:49