vulkan-3.6.7: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_memory_priority

Synopsis

Documentation

data PhysicalDeviceMemoryPriorityFeaturesEXT Source #

VkPhysicalDeviceMemoryPriorityFeaturesEXT - Structure describing memory priority features that can be supported by an implementation

Members

The members of the PhysicalDeviceMemoryPriorityFeaturesEXT structure describe the following features:

Description

If the PhysicalDeviceMemoryPriorityFeaturesEXT structure is included in the pNext chain of PhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. PhysicalDeviceMemoryPriorityFeaturesEXT can also be included in the pNext chain of DeviceCreateInfo to enable features.

Valid Usage (Implicit)

See Also

Bool32, StructureType

Constructors

PhysicalDeviceMemoryPriorityFeaturesEXT 

Fields

Instances

Instances details
Eq PhysicalDeviceMemoryPriorityFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

Show PhysicalDeviceMemoryPriorityFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

Storable PhysicalDeviceMemoryPriorityFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

FromCStruct PhysicalDeviceMemoryPriorityFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

ToCStruct PhysicalDeviceMemoryPriorityFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

Zero PhysicalDeviceMemoryPriorityFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

data MemoryPriorityAllocateInfoEXT Source #

VkMemoryPriorityAllocateInfoEXT - Specify a memory allocation priority

Description

Memory allocations with higher priority may be more likely to stay in device-local memory when the system is under memory pressure.

If this structure is not included, it is as if the priority value were 0.5.

Valid Usage (Implicit)

See Also

StructureType

Constructors

MemoryPriorityAllocateInfoEXT 

Fields

  • priority :: Float

    priority is a floating-point value between 0 and 1, indicating the priority of the allocation relative to other memory allocations. Larger values are higher priority. The granularity of the priorities is implementation-dependent.

    priority must be between 0 and 1, inclusive

Instances

Instances details
Eq MemoryPriorityAllocateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

Show MemoryPriorityAllocateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

Storable MemoryPriorityAllocateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

FromCStruct MemoryPriorityAllocateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

ToCStruct MemoryPriorityAllocateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

Zero MemoryPriorityAllocateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_priority

type EXT_MEMORY_PRIORITY_EXTENSION_NAME = "VK_EXT_memory_priority" Source #

pattern EXT_MEMORY_PRIORITY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #