glEnum.cs
938 Bytes
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
/// <summary>
/// https://gist.github.com/szimek/763999
/// </summary>
namespace UniGLTF
{
public enum glComponentType : int
{
BYTE = 5120, // signed ?
UNSIGNED_BYTE = 5121,
SHORT = 5122,
UNSIGNED_SHORT = 5123,
//INT = 5124,
UNSIGNED_INT = 5125,
FLOAT = 5126,
}
public enum glBufferTarget : int
{
NONE = 0,
ARRAY_BUFFER = 34962,
ELEMENT_ARRAY_BUFFER = 34963,
}
public enum glFilter : int
{
NONE = 0,
NEAREST = 9728,
LINEAR = 9729,
#region for minFilter only
NEAREST_MIPMAP_NEAREST = 9984,
LINEAR_MIPMAP_NEAREST = 9985,
NEAREST_MIPMAP_LINEAR = 9986,
LINEAR_MIPMAP_LINEAR = 9987,
#endregion
}
public enum glWrap : int
{
NONE = 0,
CLAMP_TO_EDGE = 33071,
REPEAT = 10497,
MIRRORED_REPEAT = 33648,
}
}