Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PhysicalDeviceDeviceMemoryReportFeaturesEXT = PhysicalDeviceDeviceMemoryReportFeaturesEXT {}
- data DeviceDeviceMemoryReportCreateInfoEXT = DeviceDeviceMemoryReportCreateInfoEXT {}
- data DeviceMemoryReportCallbackDataEXT = DeviceMemoryReportCallbackDataEXT {}
- newtype DeviceMemoryReportFlagsEXT = DeviceMemoryReportFlagsEXT Flags
- newtype DeviceMemoryReportEventTypeEXT where
- DeviceMemoryReportEventTypeEXT Int32
- pattern DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT :: DeviceMemoryReportEventTypeEXT
- pattern DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT :: DeviceMemoryReportEventTypeEXT
- pattern DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT :: DeviceMemoryReportEventTypeEXT
- pattern DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT :: DeviceMemoryReportEventTypeEXT
- pattern DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT :: DeviceMemoryReportEventTypeEXT
- type PFN_vkDeviceMemoryReportCallbackEXT = FunPtr FN_vkDeviceMemoryReportCallbackEXT
- type FN_vkDeviceMemoryReportCallbackEXT = ("pCallbackData" ::: Ptr DeviceMemoryReportCallbackDataEXT) -> ("pUserData" ::: Ptr ()) -> IO ()
- type EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION = 1
- pattern EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION :: forall a. Integral a => a
- type EXT_DEVICE_MEMORY_REPORT_EXTENSION_NAME = "VK_EXT_device_memory_report"
- pattern EXT_DEVICE_MEMORY_REPORT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceDeviceMemoryReportFeaturesEXT Source #
VkPhysicalDeviceDeviceMemoryReportFeaturesEXT - Structure describing whether device memory report callback can be supported by an implementation
Members
The members of the PhysicalDeviceDeviceMemoryReportFeaturesEXT
structure describe the following features:
Description
If the PhysicalDeviceDeviceMemoryReportFeaturesEXT
structure is
included in the pNext
chain of
PhysicalDeviceFeatures2
,
it is filled with a value indicating whether the feature is supported.
PhysicalDeviceDeviceMemoryReportFeaturesEXT
can also be used in the
pNext
chain of DeviceCreateInfo
to enable the
feature.
Valid Usage (Implicit)
See Also
PhysicalDeviceDeviceMemoryReportFeaturesEXT | |
|
Instances
data DeviceDeviceMemoryReportCreateInfoEXT Source #
VkDeviceDeviceMemoryReportCreateInfoEXT - Register device memory report callbacks for a Vulkan device
Description
The callback may be called from multiple threads simultaneously.
The callback must be called only once by the implementation when a
DeviceMemoryReportEventTypeEXT
event occurs.
Note
The callback could be called from a background thread other than the thread calling the Vulkan commands.
Valid Usage (Implicit)
See Also
PFN_vkDeviceMemoryReportCallbackEXT
, DeviceMemoryReportFlagsEXT
,
StructureType
DeviceDeviceMemoryReportCreateInfoEXT | |
|
Instances
data DeviceMemoryReportCallbackDataEXT Source #
VkDeviceMemoryReportCallbackDataEXT - Structure specifying parameters returned to the callback
Description
memoryObjectId
is used to avoid double-counting on the same memory
object.
If an internally-allocated device memory object or a
DeviceMemory
cannot be exported,
memoryObjectId
must be unique in the Device
.
If an internally-allocated device memory object or a
DeviceMemory
supports being exported,
memoryObjectId
must be unique system wide.
If an internal device memory object or a
DeviceMemory
is backed by an imported external
memory object, memoryObjectId
must be unique system wide.
Note
This structure should only be considered valid during the lifetime of the triggered callback.
For DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT
and
DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT
events, objectHandle
usually will not yet exist when the application or tool receives the
callback. objectHandle
will only exist when the create or allocate
call that triggered the event returns, and if the allocation or import
ends up failing objectHandle
won’t ever exist.
Valid Usage (Implicit)
See Also
DeviceMemoryReportEventTypeEXT
, DeviceMemoryReportFlagsEXT
,
DeviceSize
,
ObjectType
,
StructureType
Instances
newtype DeviceMemoryReportFlagsEXT Source #
Instances
newtype DeviceMemoryReportEventTypeEXT Source #
VkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory object
See Also
Instances
type PFN_vkDeviceMemoryReportCallbackEXT = FunPtr FN_vkDeviceMemoryReportCallbackEXT Source #
PFN_vkDeviceMemoryReportCallbackEXT - Application-defined device memory report callback function
Description
The callback must not make calls to any Vulkan commands.
See Also
type FN_vkDeviceMemoryReportCallbackEXT = ("pCallbackData" ::: Ptr DeviceMemoryReportCallbackDataEXT) -> ("pUserData" ::: Ptr ()) -> IO () Source #
type EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION = 1 Source #
pattern EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_DEVICE_MEMORY_REPORT_EXTENSION_NAME = "VK_EXT_device_memory_report" Source #
pattern EXT_DEVICE_MEMORY_REPORT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #