1// Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DRENDER_RENDER_STATEMASK_P_H
5#define QT3DRENDER_RENDER_STATEMASK_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <Qt3DRender/private/qt3drender_global_p.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace Qt3DRender {
23
24namespace Render {
25
26enum StateMask
27{
28 BlendStateMask = 1 << 0,
29 StencilWriteStateMask = 1 << 1,
30 StencilTestStateMask = 1 << 2,
31 ScissorStateMask = 1 << 3,
32 DepthTestStateMask = 1 << 4,
33 DepthWriteStateMask = 1 << 5,
34 CullFaceStateMask = 1 << 6,
35 AlphaTestMask = 1 << 7,
36 FrontFaceStateMask = 1 << 8,
37 DitheringStateMask = 1 << 9,
38 AlphaCoverageStateMask = 1 << 10,
39 PolygonOffsetStateMask = 1 << 11,
40 ColorStateMask = 1 << 12,
41 ClipPlaneMask = 1 << 13,
42 StencilOpMask = 1 << 14,
43 PointSizeMask = 1 << 15,
44 SeamlessCubemapMask = 1 << 16,
45 MSAAEnabledStateMask = 1 << 17,
46 BlendEquationArgumentsMask = 1 << 18,
47 LineWidthMask = 1 << 19,
48 DepthRangeMask = 1 << 20,
49 RasterModeMask = 1 << 21
50};
51
52} // namespace Render
53} // namespace Qt3DRender
54
55QT_END_NAMESPACE
56
57#endif // QT3DRENDER_RENDER_STATEMASK_P_H
58

source code of qt3d/src/render/renderstates/statemask_p.h