diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-10-26 17:19:19 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-11-01 18:41:52 +0100 |
commit | 358701f475b2c04c4681d70435bc76370b371285 (patch) | |
tree | 7ab5d170957eb8d209716f695aec428a44d4ddf2 /src/mbgl/gl/types.hpp | |
parent | 9e3839781fdf1b1c6a2d61a5de9b2c7ddd68e9ed (diff) | |
download | qtlocation-mapboxgl-358701f475b2c04c4681d70435bc76370b371285.tar.gz |
[core] add ability to upload alpha-only textures + images
Diffstat (limited to 'src/mbgl/gl/types.hpp')
-rw-r--r-- | src/mbgl/gl/types.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/gl/types.hpp b/src/mbgl/gl/types.hpp index 9a1eb365d1..10cf0a9730 100644 --- a/src/mbgl/gl/types.hpp +++ b/src/mbgl/gl/types.hpp @@ -46,6 +46,10 @@ enum class RenderbufferType : uint32_t { enum class TextureMipMap : bool { No = false, Yes = true }; enum class TextureFilter : bool { Nearest = false, Linear = true }; +enum class TextureFormat : uint32_t { + RGBA = 0x1908, + Alpha = 0x1906, +}; enum class PrimitiveType { Points = 0x0000, |