public class VkPhysicalDeviceConditionalRenderingFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceConditionalRenderingFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating the implementation-dependent behavior. VkPhysicalDeviceConditionalRenderingFeaturesEXT can also be included in pNext chain of VkDeviceCreateInfo to enable the features.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.conditionalRendering – specifies whether conditional rendering is supported.inheritedConditionalRendering – specifies whether a secondary command buffer can be executed while conditional rendering is active in the primary command buffer.
struct VkPhysicalDeviceConditionalRenderingFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 conditionalRendering;
VkBool32 inheritedConditionalRendering;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer
An array of
VkPhysicalDeviceConditionalRenderingFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CONDITIONALRENDERING
The struct member offsets.
|
static int |
INHERITEDCONDITIONALRENDERING
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 |
|---|
VkPhysicalDeviceConditionalRenderingFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
boolean |
conditionalRendering()
Returns the value of the
conditionalRendering field. |
VkPhysicalDeviceConditionalRenderingFeaturesEXT |
conditionalRendering(boolean value)
Sets the specified value to the
conditionalRendering field. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
inheritedConditionalRendering()
Returns the value of the
inheritedConditionalRendering field. |
VkPhysicalDeviceConditionalRenderingFeaturesEXT |
inheritedConditionalRendering(boolean value)
Sets the specified value to the
inheritedConditionalRendering field. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceConditionalRenderingFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
nconditionalRendering(long struct)
Unsafe version of
conditionalRendering(). |
static void |
nconditionalRendering(long struct,
int value)
Unsafe version of
conditionalRendering. |
static int |
ninheritedConditionalRendering(long struct)
Unsafe version of
inheritedConditionalRendering(). |
static void |
ninheritedConditionalRendering(long struct,
int value)
Unsafe version of
inheritedConditionalRendering. |
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. |
VkPhysicalDeviceConditionalRenderingFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceConditionalRenderingFeaturesEXT |
set(int sType,
long pNext,
boolean conditionalRendering,
boolean inheritedConditionalRendering)
Initializes this struct with the specified values.
|
VkPhysicalDeviceConditionalRenderingFeaturesEXT |
set(VkPhysicalDeviceConditionalRenderingFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceConditionalRenderingFeaturesEXT |
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 CONDITIONALRENDERING
public static final int INHERITEDCONDITIONALRENDERING
public VkPhysicalDeviceConditionalRenderingFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceConditionalRenderingFeaturesEXT 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 conditionalRendering()
conditionalRendering field.public boolean inheritedConditionalRendering()
inheritedConditionalRendering field.public VkPhysicalDeviceConditionalRenderingFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceConditionalRenderingFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceConditionalRenderingFeaturesEXT conditionalRendering(boolean value)
conditionalRendering field.public VkPhysicalDeviceConditionalRenderingFeaturesEXT inheritedConditionalRendering(boolean value)
inheritedConditionalRendering field.public VkPhysicalDeviceConditionalRenderingFeaturesEXT set(int sType, long pNext, boolean conditionalRendering, boolean inheritedConditionalRendering)
public VkPhysicalDeviceConditionalRenderingFeaturesEXT set(VkPhysicalDeviceConditionalRenderingFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT malloc()
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceConditionalRenderingFeaturesEXT calloc()
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceConditionalRenderingFeaturesEXT create()
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceConditionalRenderingFeaturesEXT create(long address)
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceConditionalRenderingFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceConditionalRenderingFeaturesEXT mallocStack()
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceConditionalRenderingFeaturesEXT callocStack()
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceConditionalRenderingFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceConditionalRenderingFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceConditionalRenderingFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceConditionalRenderingFeaturesEXT.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 nconditionalRendering(long struct)
conditionalRendering().public static int ninheritedConditionalRendering(long struct)
inheritedConditionalRendering().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nconditionalRendering(long struct,
int value)
conditionalRendering.public static void ninheritedConditionalRendering(long struct,
int value)
inheritedConditionalRendering.Copyright LWJGL. All Rights Reserved. License terms.