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 information.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)
Layout
struct VkCommandBufferInheritanceConditionalRenderingInfoEXT { VkStructureTypesType(); void const *pNext(); VkBool32conditionalRenderingEnable(); }
-
-
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 Deprecated 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 VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcallocStack()Deprecated.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCommandBufferInheritanceConditionalRenderingInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.booleanconditionalRenderingEnable()specifies whether the command buffer can be executed while conditional rendering is active in the primary command buffer.VkCommandBufferInheritanceConditionalRenderingInfoEXTconditionalRenderingEnable(boolean value)Sets the specified value to theconditionalRenderingEnable()field.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 VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkCommandBufferInheritanceConditionalRenderingInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the specifiedMemoryStack.static VkCommandBufferInheritanceConditionalRenderingInfoEXTmallocStack()Deprecated.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkCommandBufferInheritanceConditionalRenderingInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCommandBufferInheritanceConditionalRenderingInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()NULLor a pointer to a structure extending this structure.VkCommandBufferInheritanceConditionalRenderingInfoEXTpNext(long value)Sets the specified value to thepNext()field.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()the type of this structure.VkCommandBufferInheritanceConditionalRenderingInfoEXTsType(int value)Sets the specified value to thesType()field.VkCommandBufferInheritanceConditionalRenderingInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXTvalue to thesType()field.
-
-
-
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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
conditionalRenderingEnable
public boolean conditionalRenderingEnable()
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.
-
sType
public VkCommandBufferInheritanceConditionalRenderingInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkCommandBufferInheritanceConditionalRenderingInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXTvalue 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 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
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceConditionalRenderingInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT calloc(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
-
malloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer malloc(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
-
calloc
public static VkCommandBufferInheritanceConditionalRenderingInfoEXT.Buffer calloc(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.
-
-