Package org.lwjgl.vulkan
Class VkCommandBufferInheritanceConditionalRenderingInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCommandBufferInheritanceConditionalRenderingInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkCommandBufferInheritanceConditionalRenderingInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure specifying command buffer inheritance info.Description
If this structure is not present, the behavior is as if
conditionalRenderingEnable
isFALSE
.Valid Usage
- If the inherited conditional rendering feature is not enabled,
conditionalRenderingEnable
must beFALSE
Valid Usage (Implicit)
Member documentation
sType
– 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 isTRUE
, then this command buffer can be executed whether the primary command buffer has active conditional rendering or not. If this isFALSE
, then the primary command buffer must not have conditional rendering active.
Layout
struct VkCommandBufferInheritanceConditionalRenderingInfoEXT { VkStructureType sType; void const * pNext; VkBool32 conditionalRenderingEnable; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
An array ofVkCommandBufferInheritanceConditionalRenderingInfoEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
CONDITIONALRENDERINGENABLE
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkCommandBufferInheritanceConditionalRenderingInfoEXT(java.nio.ByteBuffer container)
Creates aVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkCommandBufferInheritanceConditionalRenderingInfoEXT
calloc()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated withmemCalloc
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
calloc(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated withmemCalloc
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT
callocStack()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
callocStack(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.boolean
conditionalRenderingEnable()
Returns the value of theconditionalRenderingEnable
field.VkCommandBufferInheritanceConditionalRenderingInfoEXT
conditionalRenderingEnable(boolean value)
Sets the specified value to theconditionalRenderingEnable
field.static VkCommandBufferInheritanceConditionalRenderingInfoEXT
create()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated withBufferUtils
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
create(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated withBufferUtils
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT
create(long address)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance for the specified memory address.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
create(long address, int capacity)
Create aVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance at the specified memory.static VkCommandBufferInheritanceConditionalRenderingInfoEXT
createSafe(long address)
static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
createSafe(long address, int capacity)
static VkCommandBufferInheritanceConditionalRenderingInfoEXT
malloc()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated withmemAlloc
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
malloc(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated withmemAlloc
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT
mallocStack()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the thread-localMemoryStack
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
mallocStack(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkCommandBufferInheritanceConditionalRenderingInfoEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the specifiedMemoryStack
.static int
nconditionalRenderingEnable(long struct)
Unsafe version ofconditionalRenderingEnable()
.static void
nconditionalRenderingEnable(long struct, int value)
Unsafe version ofconditionalRenderingEnable
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkCommandBufferInheritanceConditionalRenderingInfoEXT
pNext(long value)
Sets the specified value to thepNext
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 thesType
field.VkCommandBufferInheritanceConditionalRenderingInfoEXT
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkCommandBufferInheritanceConditionalRenderingInfoEXT
public VkCommandBufferInheritanceConditionalRenderingInfoEXT(java.nio.ByteBuffer container)
Creates aVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
conditionalRenderingEnable
public boolean conditionalRenderingEnable()
Returns the value of theconditionalRenderingEnable
field.
-
sType
public VkCommandBufferInheritanceConditionalRenderingInfoEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkCommandBufferInheritanceConditionalRenderingInfoEXT pNext(long value)
Sets the specified value to thepNext
field.
-
conditionalRenderingEnable
public VkCommandBufferInheritanceConditionalRenderingInfoEXT conditionalRenderingEnable(boolean value)
Sets the specified value to theconditionalRenderingEnable
field.
-
set
public VkCommandBufferInheritanceConditionalRenderingInfoEXT set(int sType, long pNext, boolean conditionalRenderingEnable)
Initializes this struct with the specified values.
-
set
public VkCommandBufferInheritanceConditionalRenderingInfoEXT set(VkCommandBufferInheritanceConditionalRenderingInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT malloc()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT calloc()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT create()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated withBufferUtils
.
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT create(long address)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkCommandBufferInheritanceConditionalRenderingInfoEXT createSafe(long address)
-
malloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer malloc(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer calloc(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer create(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer create(long address, int capacity)
Create aVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT mallocStack()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer callocStack(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
nconditionalRenderingEnable
public static int nconditionalRenderingEnable(long struct)
Unsafe version ofconditionalRenderingEnable()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nconditionalRenderingEnable
public static void nconditionalRenderingEnable(long struct, int value)
Unsafe version ofconditionalRenderingEnable
.
-
-