diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-03-06 17:27:00 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-12 11:03:54 +0100 |
commit | 2a25270298f358f815b22c87ece74fd3f37a42b5 (patch) | |
tree | 37e8e3c08f2531c98c962aba6fdb227ed6212e2c /src/mbgl/gfx/types.hpp | |
parent | 60ceac5efc3d77199f773f08400fe1d53d5a1b90 (diff) | |
download | qtlocation-mapboxgl-2a25270298f358f815b22c87ece74fd3f37a42b5.tar.gz |
[core] move Texture related enums to gfx namespace
Diffstat (limited to 'src/mbgl/gfx/types.hpp')
-rw-r--r-- | src/mbgl/gfx/types.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mbgl/gfx/types.hpp b/src/mbgl/gfx/types.hpp index 6082d99017..4c6a040b1f 100644 --- a/src/mbgl/gfx/types.hpp +++ b/src/mbgl/gfx/types.hpp @@ -133,5 +133,33 @@ enum class BufferUsageType : uint8_t { DynamicDraw, }; +enum class TexturePixelType : uint8_t { + RGBA, + Alpha, + Stencil, + Depth, + Luminance, +}; + +enum class TextureChannelDataType : uint8_t { + UnsignedByte, + HalfFloat, +}; + +enum class TextureMipMapType : bool { + No, + Yes +}; + +enum class TextureFilterType : bool { + Nearest, + Linear, +}; + +enum class TextureWrapType : bool { + Clamp, + Repeat, +}; + } // namespace gfx } // namespace mbgl |