Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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
device
is the device that created the object.
pNameInfo
is a pointer to an instance of theVkDebugMarkerObjectNameInfoEXT
structure specifying the parameters of the name to set on the object.
Valid Usage (Implicit)
device
must be a validVkDevice
handle
pNameInfo
must be a valid pointer to a validVkDebugMarkerObjectNameInfoEXT
structure
Host Synchronization
- Host access to
pNameInfo.object
must be externally synchronized
Return Codes
[Success]
- VK_SUCCESS
[Failure]
- VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
See Also
vkDebugMarkerSetObjectTagEXT :: ("device" ::: VkDevice) -> ("pTagInfo" ::: Ptr VkDebugMarkerObjectTagInfoEXT) -> IO VkResult Source #
vkDebugMarkerSetObjectTagEXT - Attach arbitrary data to an object
Parameters
device
is the device that created the object.
pTagInfo
is a pointer to an instance of theVkDebugMarkerObjectTagInfoEXT
structure specifying the parameters of the tag to attach to the object.
Valid Usage (Implicit)
device
must be a validVkDevice
handle
pTagInfo
must be a valid pointer to a validVkDebugMarkerObjectTagInfoEXT
structure
Host Synchronization
- Host access to
pTagInfo.object
must be externally synchronized
Return Codes
[Success]
- VK_SUCCESS
[Failure]
- VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
See Also
vkCmdDebugMarkerBeginEXT :: ("commandBuffer" ::: VkCommandBuffer) -> ("pMarkerInfo" ::: Ptr VkDebugMarkerMarkerInfoEXT) -> IO () Source #
vkCmdDebugMarkerBeginEXT - Open a command buffer marker region
Parameters
commandBuffer
is the command buffer into which the command is recorded.
pMarkerInfo
is a pointer to an instance of theVkDebugMarkerMarkerInfoEXT
structure specifying the parameters of the marker region to open.
Valid Usage (Implicit)
commandBuffer
must be a validVkCommandBuffer
handle
pMarkerInfo
must be a valid pointer to a validVkDebugMarkerMarkerInfoEXT
structurecommandBuffer
must be in the recording state- The
VkCommandPool
thatcommandBuffer
was allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
VkCommandPool
thatcommandBuffer
was allocated from must be externally synchronized
Command Properties
'
Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
---|---|---|---|
Primary Secondary | Both | Graphics Compute |
See Also
vkCmdDebugMarkerEndEXT :: ("commandBuffer" ::: VkCommandBuffer) -> IO () Source #
vkCmdDebugMarkerEndEXT - Close a command buffer marker region
Parameters
commandBuffer
is 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
vkCmdDebugMarkerBeginEXT
command prior to thevkCmdDebugMarkerEndEXT
on the queue thatcommandBuffer
is submitted to
- If
commandBuffer
is a secondary command buffer, there must be an outstandingvkCmdDebugMarkerBeginEXT
command recorded tocommandBuffer
that has not previously been ended by a call tovkCmdDebugMarkerEndEXT
.
Valid Usage (Implicit)
commandBuffer
must be a validVkCommandBuffer
handle
commandBuffer
must be in the recording state- The
VkCommandPool
thatcommandBuffer
was allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
VkCommandPool
thatcommandBuffer
was allocated from must be externally synchronized
Command Properties
'
Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
---|---|---|---|
Primary Secondary | Both | Graphics Compute |
See Also
vkCmdDebugMarkerInsertEXT :: ("commandBuffer" ::: VkCommandBuffer) -> ("pMarkerInfo" ::: Ptr VkDebugMarkerMarkerInfoEXT) -> IO () Source #
vkCmdDebugMarkerInsertEXT - Insert a marker label into a command buffer
Parameters
commandBuffer
is the command buffer into which the command is recorded.
pMarkerInfo
is a pointer to an instance of theVkDebugMarkerMarkerInfoEXT
structure specifying the parameters of the marker to insert.
Valid Usage (Implicit)
commandBuffer
must be a validVkCommandBuffer
handle
pMarkerInfo
must be a valid pointer to a validVkDebugMarkerMarkerInfoEXT
structurecommandBuffer
must be in the recording state- The
VkCommandPool
thatcommandBuffer
was allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
VkCommandPool
thatcommandBuffer
was allocated from must be externally synchronized
Command Properties
'
Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
---|---|---|---|
Primary Secondary | Both | Graphics 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
objectType
must not beVK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
object
must not beVK_NULL_HANDLE
object
must be a Vulkan object of the type associated withobjectType
as defined in {html_spec_relative}#debug-report-object-types.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT
pNext
must beNULL
objectType
must be a validVkDebugReportObjectTypeEXT
valuepObjectName
must be a null-terminated UTF-8 string
See Also
VkDebugReportObjectTypeEXT
,
VkStructureType
,
vkDebugMarkerSetObjectNameEXT
VkDebugMarkerObjectNameInfoEXT | |
|
Instances
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
objectType
must not beVK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
object
must not beVK_NULL_HANDLE
object
must be a Vulkan object of the type associated withobjectType
as defined in {html_spec_relative}#debug-report-object-types.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT
pNext
must beNULL
objectType
must be a validVkDebugReportObjectTypeEXT
valuepTag
must be a valid pointer to an array oftagSize
bytestagSize
must be greater than0
See Also
VkDebugReportObjectTypeEXT
,
VkStructureType
,
vkDebugMarkerSetObjectTagEXT
VkDebugMarkerObjectTagInfoEXT | |
|
Instances
data VkDebugMarkerMarkerInfoEXT Source #
VkDebugMarkerMarkerInfoEXT - Specify parameters of a command buffer marker region
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT
pNext
must beNULL
pMarkerName
must be a null-terminated UTF-8 string
See Also
VkStructureType
,
vkCmdDebugMarkerBeginEXT
, vkCmdDebugMarkerInsertEXT
VkDebugMarkerMarkerInfoEXT | |
|