public AllocationContext(int currentFrame, int framesInUse, long bufferImageGranularity, long allocationSize, long allocationAlignment, AllocationStrategyFlags strategy, SuballocationType suballocType, bool canMakeOtherLost) { CurrentFrame = currentFrame; FrameInUseCount = framesInUse; BufferImageGranularity = bufferImageGranularity; AllocationSize = allocationSize; AllocationAlignment = allocationAlignment; Strategy = strategy; SuballocationType = suballocType; CanMakeOtherLost = canMakeOtherLost; }
public AllocationCreateInfo(AllocationCreateFlags flags = default, AllocationStrategyFlags strategy = default, MemoryUsage usage = default, MemoryPropertyFlags requiredFlags = default, MemoryPropertyFlags preferredFlags = default, uint memoryTypeBits = 0, VulkanMemoryPool?pool = null, object?userData = null) { Flags = flags; Strategy = strategy; Usage = usage; RequiredFlags = requiredFlags; PreferredFlags = preferredFlags; MemoryTypeBits = memoryTypeBits; Pool = pool; UserData = userData; }