| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Vulkan.Ext.VK_EXT_memory_budget
Synopsis
- data AHardwareBuffer
- data ANativeWindow
- data CAMetalLayer
- newtype VkBool32 = VkBool32 Word32
- newtype VkDeviceAddress = VkDeviceAddress Word64
- newtype VkDeviceSize = VkDeviceSize Word64
- newtype VkFlags = VkFlags Word32
- newtype VkSampleMask = VkSampleMask Word32
- type VkMemoryHeap = VkStruct VkMemoryHeap'
- newtype VkMemoryAllocateBitmask (a :: FlagType) where
- newtype VkMemoryHeapBitmask (a :: FlagType) where
- VkMemoryHeapBitmask VkFlags
- pattern VkMemoryHeapFlagBits :: VkFlags -> VkMemoryHeapBitmask FlagBit
- pattern VkMemoryHeapFlags :: VkFlags -> VkMemoryHeapBitmask FlagMask
- pattern VK_MEMORY_HEAP_DEVICE_LOCAL_BIT :: VkMemoryHeapBitmask a
- newtype VkMemoryOverallocationBehaviorAMD where
- VkMemoryOverallocationBehaviorAMD Int32
- pattern VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD :: VkMemoryOverallocationBehaviorAMD
- pattern VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD :: VkMemoryOverallocationBehaviorAMD
- pattern VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD :: VkMemoryOverallocationBehaviorAMD
- newtype VkMemoryPropertyBitmask (a :: FlagType) where
- VkMemoryPropertyBitmask VkFlags
- pattern VkMemoryPropertyFlagBits :: VkFlags -> VkMemoryPropertyBitmask FlagBit
- pattern VkMemoryPropertyFlags :: VkFlags -> VkMemoryPropertyBitmask FlagMask
- pattern VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT :: VkMemoryPropertyBitmask a
- pattern VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT :: VkMemoryPropertyBitmask a
- pattern VK_MEMORY_PROPERTY_HOST_COHERENT_BIT :: VkMemoryPropertyBitmask a
- pattern VK_MEMORY_PROPERTY_HOST_CACHED_BIT :: VkMemoryPropertyBitmask a
- pattern VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT :: VkMemoryPropertyBitmask a
- type VkMemoryAllocateFlagBits = VkMemoryAllocateBitmask FlagBit
- newtype VkMemoryAllocateFlagBitsKHR = VkMemoryAllocateFlagBitsKHR VkFlags
- type VkMemoryAllocateFlags = VkMemoryAllocateBitmask FlagMask
- type VkMemoryHeapFlagBits = VkMemoryHeapBitmask FlagBit
- type VkMemoryHeapFlags = VkMemoryHeapBitmask FlagMask
- type VkMemoryPropertyFlagBits = VkMemoryPropertyBitmask FlagBit
- type VkMemoryPropertyFlags = VkMemoryPropertyBitmask FlagMask
- type VkMemoryType = VkStruct VkMemoryType'
- type VkPhysicalDeviceMemoryBudgetPropertiesEXT = VkStruct VkPhysicalDeviceMemoryBudgetPropertiesEXT'
- type VkPhysicalDeviceMemoryProperties = VkStruct VkPhysicalDeviceMemoryProperties'
- type VkPhysicalDeviceMemoryProperties2 = VkStruct VkPhysicalDeviceMemoryProperties2'
- newtype VkStructureType where
- VkStructureType Int32
- pattern VK_STRUCTURE_TYPE_APPLICATION_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SUBMIT_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BIND_SPARSE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FENCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_EVENT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO :: VkStructureType
- type VK_EXT_MEMORY_BUDGET_SPEC_VERSION = 1
- pattern VK_EXT_MEMORY_BUDGET_SPEC_VERSION :: (Num a, Eq a) => a
- type VK_EXT_MEMORY_BUDGET_EXTENSION_NAME = "VK_EXT_memory_budget"
- pattern VK_EXT_MEMORY_BUDGET_EXTENSION_NAME :: CString
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT :: VkStructureType
Documentation
data AHardwareBuffer Source #
struct AHardwareBuffer;
data ANativeWindow Source #
struct ANativeWindow;
data CAMetalLayer Source #
#ifdef __OBJC__ @class CAMetalLayer; #else typedef void CAMetalLayer; #endif
Instances
newtype VkDeviceAddress Source #
Constructors
| VkDeviceAddress Word64 |
Instances
newtype VkDeviceSize Source #
Constructors
| VkDeviceSize Word64 |
Instances
Instances
newtype VkSampleMask Source #
Constructors
| VkSampleMask Word32 |
Instances
type VkMemoryHeap = VkStruct VkMemoryHeap' Source #
typedef struct VkMemoryHeap {
VkDeviceSize size;
VkMemoryHeapFlags flags;
} VkMemoryHeap;newtype VkMemoryAllocateBitmask (a :: FlagType) Source #
Constructors
| VkMemoryAllocateBitmask VkFlags |
Bundled Patterns
| pattern VkMemoryAllocateFlagBits :: VkFlags -> VkMemoryAllocateBitmask FlagBit | |
| pattern VkMemoryAllocateFlags :: VkFlags -> VkMemoryAllocateBitmask FlagMask | |
| pattern VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT :: VkMemoryAllocateBitmask a | Force allocation on specific devices bitpos = |
Instances
newtype VkMemoryHeapBitmask (a :: FlagType) Source #
Constructors
| VkMemoryHeapBitmask VkFlags |
Bundled Patterns
| pattern VkMemoryHeapFlagBits :: VkFlags -> VkMemoryHeapBitmask FlagBit | |
| pattern VkMemoryHeapFlags :: VkFlags -> VkMemoryHeapBitmask FlagMask | |
| pattern VK_MEMORY_HEAP_DEVICE_LOCAL_BIT :: VkMemoryHeapBitmask a | If set, heap represents device memory bitpos = |
Instances
newtype VkMemoryOverallocationBehaviorAMD Source #
Constructors
| VkMemoryOverallocationBehaviorAMD Int32 |
Bundled Patterns
Instances
newtype VkMemoryPropertyBitmask (a :: FlagType) Source #
Constructors
| VkMemoryPropertyBitmask VkFlags |
Bundled Patterns
| pattern VkMemoryPropertyFlagBits :: VkFlags -> VkMemoryPropertyBitmask FlagBit | |
| pattern VkMemoryPropertyFlags :: VkFlags -> VkMemoryPropertyBitmask FlagMask | |
| pattern VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT :: VkMemoryPropertyBitmask a | If otherwise stated, then allocate memory on device bitpos = |
| pattern VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT :: VkMemoryPropertyBitmask a | Memory is mappable by host bitpos = |
| pattern VK_MEMORY_PROPERTY_HOST_COHERENT_BIT :: VkMemoryPropertyBitmask a | Memory will have io coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flushinvalidate host cache bitpos = |
| pattern VK_MEMORY_PROPERTY_HOST_CACHED_BIT :: VkMemoryPropertyBitmask a | Memory will be cached by the host bitpos = |
| pattern VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT :: VkMemoryPropertyBitmask a | Memory may be allocated by the driver when it is required bitpos = |
Instances
newtype VkMemoryAllocateFlagBitsKHR Source #
Constructors
| VkMemoryAllocateFlagBitsKHR VkFlags |
Instances
type VkMemoryType = VkStruct VkMemoryType' Source #
typedef struct VkMemoryType {
VkMemoryPropertyFlags propertyFlags;
uint32_t heapIndex;
} VkMemoryType;type VkPhysicalDeviceMemoryBudgetPropertiesEXT = VkStruct VkPhysicalDeviceMemoryBudgetPropertiesEXT' Source #
typedef struct VkPhysicalDeviceMemoryBudgetPropertiesEXT {
VkStructureType sType;
void* pNext;
VkDeviceSize heapBudget[VK_MAX_MEMORY_HEAPS];
VkDeviceSize heapUsage[VK_MAX_MEMORY_HEAPS];
} VkPhysicalDeviceMemoryBudgetPropertiesEXT;VkPhysicalDeviceMemoryBudgetPropertiesEXT registry at www.khronos.org
type VkPhysicalDeviceMemoryProperties = VkStruct VkPhysicalDeviceMemoryProperties' Source #
typedef struct VkPhysicalDeviceMemoryProperties {
uint32_t memoryTypeCount;
VkMemoryType memoryTypes[VK_MAX_MEMORY_TYPES];
uint32_t memoryHeapCount;
VkMemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS];
} VkPhysicalDeviceMemoryProperties;VkPhysicalDeviceMemoryProperties registry at www.khronos.org
type VkPhysicalDeviceMemoryProperties2 = VkStruct VkPhysicalDeviceMemoryProperties2' Source #
typedef struct VkPhysicalDeviceMemoryProperties2 {
VkStructureType sType;
void* pNext;
VkPhysicalDeviceMemoryProperties memoryProperties;
} VkPhysicalDeviceMemoryProperties2;VkPhysicalDeviceMemoryProperties2 registry at www.khronos.org
newtype VkStructureType Source #
Constructors
| VkStructureType Int32 |
Bundled Patterns
Instances
type VK_EXT_MEMORY_BUDGET_SPEC_VERSION = 1 Source #
pattern VK_EXT_MEMORY_BUDGET_SPEC_VERSION :: (Num a, Eq a) => a Source #
type VK_EXT_MEMORY_BUDGET_EXTENSION_NAME = "VK_EXT_memory_budget" Source #
pattern VK_EXT_MEMORY_BUDGET_EXTENSION_NAME :: CString Source #