public class EXTConditionalRendering
extends java.lang.Object
None.
VK_EXT_conditional_rendering| Modifier and Type | Field and Description |
|---|---|
static int |
VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT
Extends
VkAccessFlagBits. |
static int |
VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT
Extends
VkBufferUsageFlagBits. |
static int |
VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT
VkConditionalRenderingFlagBitsEXT - Specify the behavior of conditional rendering
|
static java.lang.String |
VK_EXT_CONDITIONAL_RENDERING_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_CONDITIONAL_RENDERING_SPEC_VERSION
The extension specification version.
|
static int |
VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT
Extends
VkPipelineStageFlagBits. |
static int |
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static void |
nvkCmdBeginConditionalRenderingEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
long pConditionalRenderingBegin)
Unsafe version of:
CmdBeginConditionalRenderingEXT |
static void |
vkCmdBeginConditionalRenderingEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
VkConditionalRenderingBeginInfoEXT pConditionalRenderingBegin)
Define the beginning of a conditional rendering block.
|
static void |
vkCmdEndConditionalRenderingEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer)
Define the end of a conditional rendering block.
|
public static final int VK_EXT_CONDITIONAL_RENDERING_SPEC_VERSION
public static final java.lang.String VK_EXT_CONDITIONAL_RENDERING_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT
VkStructureType.
public static final int VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT
VkAccessFlagBits.public static final int VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT
VkBufferUsageFlagBits.public static final int VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT
VkPipelineStageFlagBits.public static final int VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT
CONDITIONAL_RENDERING_INVERTED_BIT_EXT specifies the condition used to determine whether to discard rendering commands or not. That is, if the 32-bit predicate read from buffer memory at offset is zero, the rendering commands are not discarded, and if non zero, then they are discarded.VkConditionalRenderingFlagsEXT
public static void nvkCmdBeginConditionalRenderingEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
long pConditionalRenderingBegin)
CmdBeginConditionalRenderingEXTpublic static void vkCmdBeginConditionalRenderingEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
VkConditionalRenderingBeginInfoEXT pConditionalRenderingBegin)
To begin conditional rendering, call:
void vkCmdBeginConditionalRenderingEXT(
VkCommandBuffer commandBuffer,
const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin);
commandBuffer must be a valid VkCommandBuffer handlepConditionalRenderingBegin must be a valid pointer to a valid VkConditionalRenderingBeginInfoEXT structurecommandBuffer must be in the recording stateVkCommandPool that commandBuffer was allocated from must support graphics, or compute operationscommandBuffer 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 Compute |
commandBuffer - the command buffer into which this command will be recorded.pConditionalRenderingBegin - a pointer to a VkConditionalRenderingBeginInfoEXT structure specifying parameters of conditional rendering.public static void vkCmdEndConditionalRenderingEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer)
To end conditional rendering, call:
void vkCmdEndConditionalRenderingEXT(
VkCommandBuffer commandBuffer);
Once ended, conditional rendering becomes inactive.
commandBuffer must be a valid VkCommandBuffer handlecommandBuffer must be in the recording stateVkCommandPool that commandBuffer was allocated from must support graphics, or compute operationscommandBuffer 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 Compute |
commandBuffer - the command buffer into which this command will be recorded.Copyright LWJGL. All Rights Reserved. License terms.