Package org.lwjgl.vulkan
Class AMDMemoryOverallocationBehavior
- java.lang.Object
-
- org.lwjgl.vulkan.AMDMemoryOverallocationBehavior
-
public final class AMDMemoryOverallocationBehavior extends java.lang.Object
This extension allows controlling whether explicit overallocation beyond the device memory heap sizes (reported byVkPhysicalDeviceMemoryProperties
) is allowed or not. Overallocation may lead to performance loss and is not supported for all platforms.Examples
None.
- Name String
VK_AMD_memory_overallocation_behavior
- Extension Type
- Device extension
- Registered Extension Number
- 190
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Contact
- Martin Dinkov mdinkov
- Last Modified Date
- 2018-09-19
- IP Status
- No known IP claims.
- Contributors
- Martin Dinkov, AMD
- Matthaeus Chajdas, AMD
- Daniel Rakos, AMD
- Jon Campbell, AMD
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VK_AMD_MEMORY_OVERALLOCATION_BEHAVIOR_EXTENSION_NAME
The extension name.static int
VK_AMD_MEMORY_OVERALLOCATION_BEHAVIOR_SPEC_VERSION
The extension specification version.static int
VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMDVkMemoryOverallocationBehaviorAMD - Specify memory overallocation behaviorstatic int
VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD
ExtendsVkStructureType
.
-
-
-
Field Detail
-
VK_AMD_MEMORY_OVERALLOCATION_BEHAVIOR_SPEC_VERSION
The extension specification version.
-
VK_AMD_MEMORY_OVERALLOCATION_BEHAVIOR_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD
ExtendsVkStructureType
.
-
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD, VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD, VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD
VkMemoryOverallocationBehaviorAMD - Specify memory overallocation behaviorDescription
MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD
lets the implementation decide if overallocation should be allowed.MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD
specifies overallocation is allowed if platform permits.MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD
specifies the application is not allowed to allocate device memory beyond the heap sizes reported byVkPhysicalDeviceMemoryProperties
. Allocations that are not explicitly made by the application within the scope of the Vulkan instance are not accounted for.
See Also
-
-