summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/render_pass.hpp
blob: 4d1b1f91f960aa065a864b04902a0f6e9d2c476c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <mbgl/util/bitmask_operations.hpp>

#include <cstdint>

namespace mbgl {

enum class RenderPass : uint8_t {
    None = 0,
    Opaque = 1 << 0,
    Translucent = 1 << 1,
    Pass3D = 1 << 2,
};

// Defines whether the overdraw shaders should be used instead of the regular shaders.
enum class PaintMode : bool {
    Regular = false,
    Overdraw = true,
};

} // namespace mbgl