public class VkCommandBufferInheritanceConditionalRenderingInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, the behavior is as if conditionalRenderingEnable is FALSE.
conditionalRenderingEnable must be FALSEsType – the type of this structurepNext – NULL or a pointer to an extension-specific structureconditionalRenderingEnable – specifies whether the command buffer can be executed while conditional rendering is active in the primary command buffer. If this is TRUE, then this command buffer can be executed whether the primary command buffer has active conditional rendering or not. If this is FALSE, then the primary command buffer must not have conditional rendering active.
struct VkCommandBufferInheritanceConditionalRenderingInfoEXT {
VkStructureType sType;
void const * pNext;
VkBool32 conditionalRenderingEnable;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
An array of
VkCommandBufferInheritanceConditionalRenderingInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CONDITIONALRENDERINGENABLE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkCommandBufferInheritanceConditionalRenderingInfoEXT(java.nio.ByteBuffer container)
Creates a
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
calloc()
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated with memCalloc. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated with memCalloc. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
callocStack()
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
boolean |
conditionalRenderingEnable()
Returns the value of the
conditionalRenderingEnable field. |
VkCommandBufferInheritanceConditionalRenderingInfoEXT |
conditionalRenderingEnable(boolean value)
Sets the specified value to the
conditionalRenderingEnable field. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
create()
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated with BufferUtils. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
create(int capacity)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated with BufferUtils. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
create(long address)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance for the specified memory address. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance at the specified memory. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
createSafe(long address)
|
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
malloc()
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated with memAlloc. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated with memAlloc. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
mallocStack()
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the thread-local MemoryStack. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkCommandBufferInheritanceConditionalRenderingInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the specified MemoryStack. |
static int |
nconditionalRenderingEnable(long struct)
Unsafe version of
conditionalRenderingEnable(). |
static void |
nconditionalRenderingEnable(long struct,
int value)
Unsafe version of
conditionalRenderingEnable. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkCommandBufferInheritanceConditionalRenderingInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkCommandBufferInheritanceConditionalRenderingInfoEXT |
set(int sType,
long pNext,
boolean conditionalRenderingEnable)
Initializes this struct with the specified values.
|
VkCommandBufferInheritanceConditionalRenderingInfoEXT |
set(VkCommandBufferInheritanceConditionalRenderingInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkCommandBufferInheritanceConditionalRenderingInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int CONDITIONALRENDERINGENABLE
public VkCommandBufferInheritanceConditionalRenderingInfoEXT(java.nio.ByteBuffer container)
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean conditionalRenderingEnable()
conditionalRenderingEnable field.public VkCommandBufferInheritanceConditionalRenderingInfoEXT sType(int value)
sType field.public VkCommandBufferInheritanceConditionalRenderingInfoEXT pNext(long value)
pNext field.public VkCommandBufferInheritanceConditionalRenderingInfoEXT conditionalRenderingEnable(boolean value)
conditionalRenderingEnable field.public VkCommandBufferInheritanceConditionalRenderingInfoEXT set(int sType, long pNext, boolean conditionalRenderingEnable)
public VkCommandBufferInheritanceConditionalRenderingInfoEXT set(VkCommandBufferInheritanceConditionalRenderingInfoEXT src)
src - the source structpublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT malloc()
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkCommandBufferInheritanceConditionalRenderingInfoEXT calloc()
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkCommandBufferInheritanceConditionalRenderingInfoEXT create()
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated with BufferUtils.public static VkCommandBufferInheritanceConditionalRenderingInfoEXT create(long address)
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance for the specified memory address.@Nullable public static VkCommandBufferInheritanceConditionalRenderingInfoEXT createSafe(long address)
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer malloc(int capacity)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer calloc(int capacity)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer create(int capacity)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer create(long address, int capacity)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer createSafe(long address, int capacity)
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT mallocStack()
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the thread-local MemoryStack.public static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack()
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkCommandBufferInheritanceConditionalRenderingInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkCommandBufferInheritanceConditionalRenderingInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer mallocStack(int capacity)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer callocStack(int capacity)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nconditionalRenderingEnable(long struct)
conditionalRenderingEnable().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nconditionalRenderingEnable(long struct,
int value)
conditionalRenderingEnable.Copyright LWJGL. All Rights Reserved. License terms.