public class NVScissorExclusive
extends java.lang.Object
VK_NV_scissor_exclusiveVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
static int |
VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV
Extends
VkDynamicState. |
static java.lang.String |
VK_NV_SCISSOR_EXCLUSIVE_EXTENSION_NAME
The extension name.
|
static int |
VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION
The extension specification version.
|
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static void |
nvkCmdSetExclusiveScissorNV(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
int firstExclusiveScissor,
int exclusiveScissorCount,
long pExclusiveScissors)
Unsafe version of:
CmdSetExclusiveScissorNV |
static void |
vkCmdSetExclusiveScissorNV(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
int firstExclusiveScissor,
VkRect2D.Buffer pExclusiveScissors)
Set the dynamic exclusive scissor rectangles on a command buffer.
|
public static final int VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION
public static final java.lang.String VK_NV_SCISSOR_EXCLUSIVE_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV
VkStructureType.
public static final int VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV
VkDynamicState.public static void nvkCmdSetExclusiveScissorNV(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
int firstExclusiveScissor,
int exclusiveScissorCount,
long pExclusiveScissors)
CmdSetExclusiveScissorNVexclusiveScissorCount - the number of exclusive scissor rectangles updated by the command.public static void vkCmdSetExclusiveScissorNV(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
int firstExclusiveScissor,
VkRect2D.Buffer pExclusiveScissors)
If the pipeline state object is created with 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);
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.
DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV dynamic state enabledfirstExclusiveScissor must be less than VkPhysicalDeviceLimits::maxViewportsfirstExclusiveScissor and exclusiveScissorCount must be between 1 and VkPhysicalDeviceLimits::maxViewports, inclusivefirstExclusiveScissor must be 0exclusiveScissorCount must be 1x and y members of offset in each member of pExclusiveScissors must be greater than or equal to 0(offset.x + extent.width) for each member of pExclusiveScissors must not cause a signed integer addition overflow(offset.y + extent.height) for each member of pExclusiveScissors must not cause a signed integer addition overflowcommandBuffer must be a valid VkCommandBuffer handlepExclusiveScissors must be a valid pointer to an array of exclusiveScissorCount VkRect2D structurescommandBuffer must be in the recording stateVkCommandPool that commandBuffer was allocated from must support graphics operationsexclusiveScissorCount must be greater than 0commandBuffer must be externally synchronizedVkCommandPool that commandBuffer was allocated from must be externally synchronized| Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
|---|---|---|---|
| Primary Secondary | Both | Graphics |
commandBuffer - the command buffer into which the command will be recorded.firstExclusiveScissor - the index of the first exclusive scissor rectangle whose state is updated by the command.pExclusiveScissors - a pointer to an array of VkRect2D structures defining exclusive scissor rectangles.Copyright LWJGL. All Rights Reserved. License terms.