C Specification
If the pipeline state object is created with
VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV
enabled, then the exclusive
scissor rectangles are set by:
void vkCmdSetExclusiveScissorNV(
VkCommandBuffer commandBuffer,
uint32_t firstExclusiveScissor,
uint32_t exclusiveScissorCount,
const VkRect2D* pExclusiveScissors);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
firstExclusiveScissor
is the index of the first exclusive scissor rectangle whose state is updated by the command. -
exclusiveScissorCount
is the number of exclusive scissor rectangles updated by the command. -
pExclusiveScissors
is a pointer to an array of VkRect2D structures defining exclusive scissor rectangles.
Description
The scissor rectangles taken from element i of
pExclusiveScissors
replace the current state for the scissor index
firstExclusiveScissor
+ i, for i in [0,
exclusiveScissorCount
).
Each scissor rectangle is described by a VkRect2D structure, with the
offset.x
and offset.y
values determining the upper left corner
of the scissor rectangle, and the extent.width
and extent.height
values determining the size in pixels.
See Also
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.