| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Vulkan.Extensions.VK_EXT_debug_marker
- pattern VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT :: VkStructureType
- pattern VK_EXT_DEBUG_MARKER_SPEC_VERSION :: Integral a => a
- pattern VK_EXT_DEBUG_MARKER_EXTENSION_NAME :: (Eq a, IsString a) => a
- vkDebugMarkerSetObjectNameEXT :: ("device" ::: VkDevice) -> ("pNameInfo" ::: Ptr VkDebugMarkerObjectNameInfoEXT) -> IO VkResult
- vkDebugMarkerSetObjectTagEXT :: ("device" ::: VkDevice) -> ("pTagInfo" ::: Ptr VkDebugMarkerObjectTagInfoEXT) -> IO VkResult
- vkCmdDebugMarkerBeginEXT :: ("commandBuffer" ::: VkCommandBuffer) -> ("pMarkerInfo" ::: Ptr VkDebugMarkerMarkerInfoEXT) -> IO ()
- vkCmdDebugMarkerEndEXT :: ("commandBuffer" ::: VkCommandBuffer) -> IO ()
- vkCmdDebugMarkerInsertEXT :: ("commandBuffer" ::: VkCommandBuffer) -> ("pMarkerInfo" ::: Ptr VkDebugMarkerMarkerInfoEXT) -> IO ()
- data VkDebugMarkerObjectNameInfoEXT = VkDebugMarkerObjectNameInfoEXT {}
- data VkDebugMarkerObjectTagInfoEXT = VkDebugMarkerObjectTagInfoEXT {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkObjectType :: VkDebugReportObjectTypeEXT
- vkObject :: Word64
- vkTagName :: Word64
- vkTagSize :: CSize
- vkPTag :: Ptr ()
- data VkDebugMarkerMarkerInfoEXT = VkDebugMarkerMarkerInfoEXT {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkPMarkerName :: Ptr CChar
- vkColor :: Vector 4 CFloat
Documentation
pattern VK_EXT_DEBUG_MARKER_SPEC_VERSION :: Integral a => a Source #
pattern VK_EXT_DEBUG_MARKER_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
vkDebugMarkerSetObjectNameEXT :: ("device" ::: VkDevice) -> ("pNameInfo" ::: Ptr VkDebugMarkerObjectNameInfoEXT) -> IO VkResult Source #
vkDebugMarkerSetObjectNameEXT - Give a user-friendly name to an object
Parameters
deviceis the device that created the object.
pNameInfois a pointer to an instance of theVkDebugMarkerObjectNameInfoEXTstructure specifying the parameters of the name to set on the object.
Description
Valid Usage (Implicit)
devicemust be a validVkDevicehandle
pNameInfomust be a valid pointer to a validVkDebugMarkerObjectNameInfoEXTstructure
Host Synchronization
- Host access to
pNameInfo.objectmust be externally synchronized
Return Codes
- Success
- -
VK_SUCCESS
- Failure
- -
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORY
See Also
vkDebugMarkerSetObjectTagEXT :: ("device" ::: VkDevice) -> ("pTagInfo" ::: Ptr VkDebugMarkerObjectTagInfoEXT) -> IO VkResult Source #
vkDebugMarkerSetObjectTagEXT - Attach arbitrary data to an object
Parameters
deviceis the device that created the object.
pTagInfois a pointer to an instance of theVkDebugMarkerObjectTagInfoEXTstructure specifying the parameters of the tag to attach to the object.
Description
Valid Usage (Implicit)
devicemust be a validVkDevicehandle
pTagInfomust be a valid pointer to a validVkDebugMarkerObjectTagInfoEXTstructure
Host Synchronization
- Host access to
pTagInfo.objectmust be externally synchronized
Return Codes
- Success
- -
VK_SUCCESS
- Failure
- -
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORY
See Also
vkCmdDebugMarkerBeginEXT :: ("commandBuffer" ::: VkCommandBuffer) -> ("pMarkerInfo" ::: Ptr VkDebugMarkerMarkerInfoEXT) -> IO () Source #
vkCmdDebugMarkerBeginEXT - Open a command buffer marker region
Parameters
commandBufferis the command buffer into which the command is recorded.
pMarkerInfois a pointer to an instance of theVkDebugMarkerMarkerInfoEXTstructure specifying the parameters of the marker region to open.
Description
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandle
pMarkerInfomust be a valid pointer to a validVkDebugMarkerMarkerInfoEXTstructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
+-----------------+-----------------+-----------------+-----------------+ | <#VkCommandBuff | <#vkCmdBeginRen | <#VkQueueFlagBi | <#synchronizati | | erLevel Command | derPass Render | ts Supported Qu | on-pipeline-sta | | Buffer Levels> | Pass Scope> | eue Types> | ges-types Pipel | | | | | ine Type> | +=================+=================+=================+=================+ | Primary | Both | Graphics | | | Secondary | | Compute | | +-----------------+-----------------+-----------------+-----------------+
See Also
vkCmdDebugMarkerEndEXT :: ("commandBuffer" ::: VkCommandBuffer) -> IO () Source #
vkCmdDebugMarkerEndEXT - Close a command buffer marker region
Parameters
commandBufferis the command buffer into which the command is recorded.
Description
An application may open a marker region in one command buffer and
close it in another, or otherwise split marker regions across multiple
command buffers or multiple queue submissions. When viewed from the
linear series of submissions to a single queue, the calls to
vkCmdDebugMarkerBeginEXT and vkCmdDebugMarkerEndEXT must be
matched and balanced.
Valid Usage
- There must be an outstanding
vkCmdDebugMarkerBeginEXTcommand prior to thevkCmdDebugMarkerEndEXTon the queue thatcommandBufferis submitted to
- If
commandBufferis a secondary command buffer, there must be an outstandingvkCmdDebugMarkerBeginEXTcommand recorded tocommandBufferthat has not previously been ended by a call tovkCmdDebugMarkerEndEXT.
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandle
commandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
+-----------------+-----------------+-----------------+-----------------+ | <#VkCommandBuff | <#vkCmdBeginRen | <#VkQueueFlagBi | <#synchronizati | | erLevel Command | derPass Render | ts Supported Qu | on-pipeline-sta | | Buffer Levels> | Pass Scope> | eue Types> | ges-types Pipel | | | | | ine Type> | +=================+=================+=================+=================+ | Primary | Both | Graphics | | | Secondary | | Compute | | +-----------------+-----------------+-----------------+-----------------+
See Also
vkCmdDebugMarkerInsertEXT :: ("commandBuffer" ::: VkCommandBuffer) -> ("pMarkerInfo" ::: Ptr VkDebugMarkerMarkerInfoEXT) -> IO () Source #
vkCmdDebugMarkerInsertEXT - Insert a marker label into a command buffer
Parameters
commandBufferis the command buffer into which the command is recorded.
pMarkerInfois a pointer to an instance of theVkDebugMarkerMarkerInfoEXTstructure specifying the parameters of the marker to insert.
Description
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandle
pMarkerInfomust be a valid pointer to a validVkDebugMarkerMarkerInfoEXTstructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
+-----------------+-----------------+-----------------+-----------------+ | <#VkCommandBuff | <#vkCmdBeginRen | <#VkQueueFlagBi | <#synchronizati | | erLevel Command | derPass Render | ts Supported Qu | on-pipeline-sta | | Buffer Levels> | Pass Scope> | eue Types> | ges-types Pipel | | | | | ine Type> | +=================+=================+=================+=================+ | Primary | Both | Graphics | | | Secondary | | Compute | | +-----------------+-----------------+-----------------+-----------------+
See Also
data VkDebugMarkerObjectNameInfoEXT Source #
VkDebugMarkerObjectNameInfoEXT - Specify parameters of a name to give to an object
Description
Applications may change the name associated with an object simply by
calling vkDebugMarkerSetObjectNameEXT again with a new string. To
remove a previously set name, pObjectName should be set to an empty
string.
Valid Usage
objectTypemust not beVK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
objectmust not beVK_NULL_HANDLEobjectmust be a Vulkan object of the type associated withobjectTypeas defined in {html_spec_relative}#debug-report-object-types.
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT
pNextmust beNULLobjectTypemust be a validVkDebugReportObjectTypeEXTvaluepObjectNamemust be a null-terminated UTF-8 string
See Also
VkDebugReportObjectTypeEXT,
VkStructureType,
vkDebugMarkerSetObjectNameEXT
Constructors
| VkDebugMarkerObjectNameInfoEXT | |
Fields
| |
data VkDebugMarkerObjectTagInfoEXT Source #
VkDebugMarkerObjectTagInfoEXT - Specify parameters of a tag to attach to an object
Description
The tagName parameter gives a name or identifier to the type of data
being tagged. This can be used by debugging layers to easily filter for
only data that can be used by that implementation.
Valid Usage
objectTypemust not beVK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
objectmust not beVK_NULL_HANDLEobjectmust be a Vulkan object of the type associated withobjectTypeas defined in {html_spec_relative}#debug-report-object-types.
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT
pNextmust beNULLobjectTypemust be a validVkDebugReportObjectTypeEXTvaluepTagmust be a valid pointer to an array oftagSizebytestagSizemust be greater than0
See Also
VkDebugReportObjectTypeEXT,
VkStructureType,
vkDebugMarkerSetObjectTagEXT
Constructors
| VkDebugMarkerObjectTagInfoEXT | |
Fields
| |
data VkDebugMarkerMarkerInfoEXT Source #
VkDebugMarkerMarkerInfoEXT - Specify parameters of a command buffer marker region
Description
Valid Usage (Implicit)
sTypemust beVK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT
pNextmust beNULLpMarkerNamemust be a null-terminated UTF-8 string
See Also
VkStructureType,
vkCmdDebugMarkerBeginEXT, vkCmdDebugMarkerInsertEXT
Constructors
| VkDebugMarkerMarkerInfoEXT | |
Fields
| |