Package org.lwjgl.vulkan
Class VkCommandBufferInheritanceRenderPassTransformInfoQCOM
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCommandBufferInheritanceRenderPassTransformInfoQCOM
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCommandBufferInheritanceRenderPassTransformInfoQCOM extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing transformed render pass parameters command buffer.Description
When the secondary is recorded to execute within a render pass instance using
CmdExecuteCommands, the render pass transform parameters of the secondary command buffer must be consistent with the render pass transform parameters specified for the render pass instance. In particular, thetransformandrenderAreafor command buffer must be identical to thetransformandrenderAreaof the render pass instance.Valid Usage
transformmust beSURFACE_TRANSFORM_IDENTITY_BIT_KHR,SURFACE_TRANSFORM_ROTATE_90_BIT_KHR,SURFACE_TRANSFORM_ROTATE_180_BIT_KHR, orSURFACE_TRANSFORM_ROTATE_270_BIT_KHR
Valid Usage (Implicit)
See Also
Layout
struct VkCommandBufferInheritanceRenderPassTransformInfoQCOM { VkStructureTypesType(); void *pNext(); VkSurfaceTransformFlagBitsKHRtransform();VkRect2DrenderArea(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCommandBufferInheritanceRenderPassTransformInfoQCOM.BufferAn array ofVkCommandBufferInheritanceRenderPassTransformInfoQCOMstructs.
-
Constructor Summary
Constructors Constructor Description VkCommandBufferInheritanceRenderPassTransformInfoQCOM(java.nio.ByteBuffer container)Creates aVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkCommandBufferInheritanceRenderPassTransformInfoQCOMcalloc()Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated withmemCalloc.static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffercalloc(int capacity)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated withmemCalloc.static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceRenderPassTransformInfoQCOMcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceRenderPassTransformInfoQCOMcreate()Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated withBufferUtils.static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffercreate(int capacity)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated withBufferUtils.static VkCommandBufferInheritanceRenderPassTransformInfoQCOMcreate(long address)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance for the specified memory address.static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffercreate(long address, int capacity)Create aVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance at the specified memory.static VkCommandBufferInheritanceRenderPassTransformInfoQCOMcreateSafe(long address)static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.BuffercreateSafe(long address, int capacity)static VkCommandBufferInheritanceRenderPassTransformInfoQCOMmalloc()Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated withmemAlloc.static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffermalloc(int capacity)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated withmemAlloc.static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated on the specifiedMemoryStack.static VkCommandBufferInheritanceRenderPassTransformInfoQCOMmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkRect2DnrenderArea(long struct)Unsafe version ofrenderArea().static voidnrenderArea(long struct, VkRect2D value)Unsafe version ofrenderArea.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intntransform(long struct)Unsafe version oftransform().static voidntransform(long struct, int value)Unsafe version oftransform.longpNext()NULLor a pointer to a structure extending this structure.VkCommandBufferInheritanceRenderPassTransformInfoQCOMpNext(long value)Sets the specified value to thepNext()field.VkRect2DrenderArea()the render area that is affected by the command buffer.VkCommandBufferInheritanceRenderPassTransformInfoQCOMrenderArea(java.util.function.Consumer<VkRect2D> consumer)Passes therenderArea()field to the specifiedConsumer.VkCommandBufferInheritanceRenderPassTransformInfoQCOMrenderArea(VkRect2D value)Copies the specifiedVkRect2Dto therenderArea()field.VkCommandBufferInheritanceRenderPassTransformInfoQCOMset(int sType, long pNext, int transform, VkRect2D renderArea)Initializes this struct with the specified values.VkCommandBufferInheritanceRenderPassTransformInfoQCOMset(VkCommandBufferInheritanceRenderPassTransformInfoQCOM src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkCommandBufferInheritanceRenderPassTransformInfoQCOMsType(int value)Sets the specified value to thesType()field.VkCommandBufferInheritanceRenderPassTransformInfoQCOMsType$Default()Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOMvalue to thesType()field.inttransform()aVkSurfaceTransformFlagBitsKHRvalue describing the transform to be applied to the render pass.VkCommandBufferInheritanceRenderPassTransformInfoQCOMtransform(int value)Sets the specified value to thetransform()field.
-
-
-
Constructor Detail
-
VkCommandBufferInheritanceRenderPassTransformInfoQCOM
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM(java.nio.ByteBuffer container)
Creates aVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance 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.
-
transform
public int transform()
aVkSurfaceTransformFlagBitsKHRvalue describing the transform to be applied to the render pass.
-
renderArea
public VkRect2D renderArea()
the render area that is affected by the command buffer.
-
sType
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM sType$Default()
Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOMvalue to thesType()field.
-
pNext
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM pNext(long value)
Sets the specified value to thepNext()field.
-
transform
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM transform(int value)
Sets the specified value to thetransform()field.
-
renderArea
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM renderArea(VkRect2D value)
Copies the specifiedVkRect2Dto therenderArea()field.
-
renderArea
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM renderArea(java.util.function.Consumer<VkRect2D> consumer)
Passes therenderArea()field to the specifiedConsumer.
-
set
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM set(int sType, long pNext, int transform, VkRect2D renderArea)
Initializes this struct with the specified values.
-
set
public VkCommandBufferInheritanceRenderPassTransformInfoQCOM set(VkCommandBufferInheritanceRenderPassTransformInfoQCOM src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM malloc()
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM calloc()
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM create()
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated withBufferUtils.
-
create
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM create(long address)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance for the specified memory address.
-
createSafe
@Nullable public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM createSafe(long address)
-
malloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffer malloc(int capacity)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffer calloc(int capacity)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffer create(int capacity)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffer create(long address, int capacity)
Create aVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffer createSafe(long address, int capacity)
-
malloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCommandBufferInheritanceRenderPassTransformInfoQCOM.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderPassTransformInfoQCOM.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().
-
ntransform
public static int ntransform(long struct)
Unsafe version oftransform().
-
nrenderArea
public static VkRect2D nrenderArea(long struct)
Unsafe version ofrenderArea().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ntransform
public static void ntransform(long struct, int value)Unsafe version oftransform.
-
nrenderArea
public static void nrenderArea(long struct, VkRect2D value)Unsafe version ofrenderArea.
-
-