-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrrEnums.cs
45 lines (45 loc) · 1.11 KB
/
rrEnums.cs
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
namespace RadeonRaysSharp.Raw {
public unsafe static partial class RadeonRays {
#pragma warning disable CA1712 // Do not prefix enum values with type name
public enum RRError {
RrSuccess = 0,
RrErrorNotImplemented = 1,
RrErrorInternal = 2,
RrErrorOutOfHostMemory = 3,
RrErrorOutOfDeviceMemory = 4,
RrErrorInvalidApiVersion = 5,
RrErrorInvalidParameter = 6,
RrErrorUnsupportedApi = 7,
RrErrorUnsupportedInterop = 8,
}
public enum RRApi {
RrApiDx = 1,
RrApi = 2,
RrApiMtl = 3,
}
public enum RRBuildOperation {
RrBuildOperationBuild = 1,
RrBuildOperationUpdate = 2,
}
public enum RRBuildFlags {
RrBuildFlagBitsPreferFastBuild = 1,
RrBuildFlagBitsAllowUpdate = 2,
}
public enum RRPrimitiveType {
RrPrimitiveTypeTriangleMesh = 0,
RrPrimitiveTypeAabbList = 1,
}
public enum RRIndexType {
RrIndexTypeUint32 = 0,
RrIndexTypeUint16 = 1,
}
public enum RRIntersectQuery {
RrIntersectQueryClosest = 0,
RrIntersectQueryAny = 1,
}
public enum RRIntersectQueryOutput {
RrIntersectQueryOutputFullHit = 0,
RrIntersectQueryOutputInstanceId = 1,
}
}
}