-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.d
134 lines (115 loc) · 1.49 KB
/
constants.d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/**
* Copyright: Copyright (C) 2018 Gabriel Gheorghe, All Rights Reserved
* Authors: $(Gabriel Gheorghe)
* License: $(LINK2 https://www.gnu.org/licenses/gpl-3.0.txt, GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007)
* Source: $(LINK2 https://github.com/GabyForceQ/LibertyEngine/blob/master/source/liberty/graphics/constants.d)
* Documentation:
* Coverage:
**/
module liberty.graphics.constants;
/**
* Possible video card vendors.
**/
enum GfxVendor : byte {
/**
* AMD vendor.
**/
AMD = 0x00,
/**
* Intel vendor.
**/
INTEL = 0x01,
/**
* Nvidia vendor.
**/
NVIDIA = 0x02,
/**
* Vendor is unknown.
**/
UNKNOWN = -0x01
}
/**
*
**/
enum GfxBlending : byte {
/**
*
**/
OPAQUE = 0x00,
/**
*
**/
ALPHA_BLEND = 0x01,
/**
*
**/
NON_PREMULTIPLIED = 0x02,
/**
*
**/
ADDITIVE = 0x03
}
/**
*
**/
enum GfxSampling : byte {
/**
*
**/
ANISOTROPIC_CLAMP = 0x00,
/**
*
**/
ANISOTROPIC_WRAP = 0x01,
/**
*
**/
LINEAR_CLAMP = 0x02,
/**
*
**/
LINEAR_WRAP = 0x03,
/**
*
**/
POINT_CLAMP = 0x04,
/**
*
**/
POINT_WRAP = 0x05
}
/**
*
**/
enum GfxVSyncState : byte {
/**
*
**/
IMMEDIATE = 0x00,
/**
*
**/
DEFAULT = 0x01,
/**
*
**/
LATE_TEARING = -0x01
}
/**
* Draw modes.
**/
enum GfxDrawMode : byte {
/**
* Draw triangles.
**/
TRIANGLES = 0x00
}
/**
*
**/
enum GfxVectorType : byte {
/**
* Unsigned integer.
**/
UINT = 0x00
}