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.NativeResourceStructure specifying command buffer inheritance info.Description
If this structure is not present, the behavior is as if
conditionalRenderingEnableisFALSE.Valid Usage
- If the inherited conditional rendering feature is not enabled,
conditionalRenderingEnablemust beFALSE
Valid Usage (Implicit)
Member documentation
sType– the type of this structurepNext–NULLor 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 classVkCommandBufferInheritanceConditionalRenderingInfoEXT.BufferAn array ofVkCommandBufferInheritanceConditionalRenderingInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCONDITIONALRENDERINGENABLE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkCommandBufferInheritanceConditionalRenderingInfoEXT(java.nio.ByteBuffer container)Creates aVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkCommandBufferInheritanceConditionalRenderingInfoEXTcalloc()Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated withmemCalloc.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffercalloc(int capacity)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated withmemCalloc.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcallocStack()Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffercallocStack(int capacity)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleanconditionalRenderingEnable()Returns the value of theconditionalRenderingEnablefield.VkCommandBufferInheritanceConditionalRenderingInfoEXTconditionalRenderingEnable(boolean value)Sets the specified value to theconditionalRenderingEnablefield.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcreate()Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated withBufferUtils.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffercreate(int capacity)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated withBufferUtils.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcreate(long address)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance for the specified memory address.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffercreate(long address, int capacity)Create aVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance at the specified memory.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcreateSafe(long address)static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffercreateSafe(long address, int capacity)static VkCommandBufferInheritanceConditionalRenderingInfoEXTmalloc()Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated withmemAlloc.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffermalloc(int capacity)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated withmemAlloc.static VkCommandBufferInheritanceConditionalRenderingInfoEXTmallocStack()Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the thread-localMemoryStack.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffermallocStack(int capacity)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkCommandBufferInheritanceConditionalRenderingInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the specifiedMemoryStack.static intnconditionalRenderingEnable(long struct)Unsafe version ofconditionalRenderingEnable().static voidnconditionalRenderingEnable(long struct, int value)Unsafe version ofconditionalRenderingEnable.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkCommandBufferInheritanceConditionalRenderingInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkCommandBufferInheritanceConditionalRenderingInfoEXTset(int sType, long pNext, boolean conditionalRenderingEnable)Initializes this struct with the specified values.VkCommandBufferInheritanceConditionalRenderingInfoEXTset(VkCommandBufferInheritanceConditionalRenderingInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkCommandBufferInheritanceConditionalRenderingInfoEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkCommandBufferInheritanceConditionalRenderingInfoEXT
public VkCommandBufferInheritanceConditionalRenderingInfoEXT(java.nio.ByteBuffer container)
Creates aVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
conditionalRenderingEnable
public boolean conditionalRenderingEnable()
Returns the value of theconditionalRenderingEnablefield.
-
sType
public VkCommandBufferInheritanceConditionalRenderingInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkCommandBufferInheritanceConditionalRenderingInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
conditionalRenderingEnable
public VkCommandBufferInheritanceConditionalRenderingInfoEXT conditionalRenderingEnable(boolean value)
Sets the specified value to theconditionalRenderingEnablefield.
-
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 newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT calloc()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT create()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated withBufferUtils.
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT create(long address)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkCommandBufferInheritanceConditionalRenderingInfoEXT createSafe(long address)
-
malloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer malloc(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer calloc(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer create(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer create(long address, int capacity)
Create aVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance 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 newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack()
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer callocStack(int capacity)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-
-