-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVmaVirtualAllocationCreateFlagBits.cs
57 lines (51 loc) · 2.73 KB
/
VmaVirtualAllocationCreateFlagBits.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
46
47
48
49
50
51
52
53
54
55
56
57
namespace Hexa.NET.VMA
{
using HexaGen.Runtime;
/// <summary>
/// Flags to be passed as VmaVirtualAllocationCreateInfo::flags.<br/>
/// </summary>
[NativeName(NativeNameType.Enum, "VmaVirtualAllocationCreateFlagBits")]
public enum VmaVirtualAllocationCreateFlagBits : int
{
/// <summary>
/// <br/>
/// This flag is only allowed for virtual blocks created with #VMA_VIRTUAL_BLOCK_CREATE_LINEAR_ALGORITHM_BIT flag.<br/>
/// </summary>
[NativeName(NativeNameType.EnumItem, "VMA_VIRTUAL_ALLOCATION_CREATE_UPPER_ADDRESS_BIT")]
[NativeName(NativeNameType.Value, "VMA_ALLOCATION_CREATE_UPPER_ADDRESS_BIT")]
UpperAddressBit = unchecked((int)VmaAllocationCreateFlagBits.UpperAddress),
/// <summary>
/// <br/>
/// </summary>
[NativeName(NativeNameType.EnumItem, "VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT")]
[NativeName(NativeNameType.Value, "VMA_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT")]
StrategyMinMemoryBit = unchecked((int)VmaAllocationCreateFlagBits.StrategyMinMemory),
/// <summary>
/// <br/>
/// </summary>
[NativeName(NativeNameType.EnumItem, "VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT")]
[NativeName(NativeNameType.Value, "VMA_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT")]
StrategyMinTimeBit = unchecked((int)VmaAllocationCreateFlagBits.StrategyMinTime),
/// <summary>
/// Allocation strategy that chooses always the lowest offset in available space.<br/>
/// This is not the most efficient strategy but achieves highly packed data.<br/>
/// </summary>
[NativeName(NativeNameType.EnumItem, "VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_OFFSET_BIT")]
[NativeName(NativeNameType.Value, "VMA_ALLOCATION_CREATE_STRATEGY_MIN_OFFSET_BIT")]
StrategyMinOffsetBit = unchecked((int)VmaAllocationCreateFlagBits.StrategyMinOffset),
/// <summary>
/// <br/>
/// These strategy flags are binary compatible with equivalent flags in #VmaAllocationCreateFlagBits.<br/>
/// </summary>
[NativeName(NativeNameType.EnumItem, "VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MASK")]
[NativeName(NativeNameType.Value, "VMA_ALLOCATION_CREATE_STRATEGY_MASK")]
StrategyMask = unchecked((int)VmaAllocationCreateFlagBits.StrategyMask),
/// <summary>
/// <br/>
/// These strategy flags are binary compatible with equivalent flags in #VmaAllocationCreateFlagBits.<br/>
/// </summary>
[NativeName(NativeNameType.EnumItem, "VMA_VIRTUAL_ALLOCATION_CREATE_FLAG_BITS_MAX_ENUM")]
[NativeName(NativeNameType.Value, "2147483647")]
MaxEnum = unchecked(2147483647),
}
}