Package org.lwjgl.vulkan
Class VkCopyCommandTransformInfoQCOM
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCopyCommandTransformInfoQCOM
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCopyCommandTransformInfoQCOM extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing transform parameters of rotated copy command.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)
sTypemust beSTRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM
Layout
struct VkCopyCommandTransformInfoQCOM { VkStructureTypesType(); void const *pNext(); VkSurfaceTransformFlagBitsKHRtransform(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCopyCommandTransformInfoQCOM.BufferAn array ofVkCopyCommandTransformInfoQCOMstructs.
-
Constructor Summary
Constructors Constructor Description VkCopyCommandTransformInfoQCOM(java.nio.ByteBuffer container)Creates aVkCopyCommandTransformInfoQCOMinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkCopyCommandTransformInfoQCOMcalloc()Returns a newVkCopyCommandTransformInfoQCOMinstance allocated withmemCalloc.static VkCopyCommandTransformInfoQCOM.Buffercalloc(int capacity)Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated withmemCalloc.static VkCopyCommandTransformInfoQCOM.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCopyCommandTransformInfoQCOMcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCopyCommandTransformInfoQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCopyCommandTransformInfoQCOMcreate()Returns a newVkCopyCommandTransformInfoQCOMinstance allocated withBufferUtils.static VkCopyCommandTransformInfoQCOM.Buffercreate(int capacity)Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated withBufferUtils.static VkCopyCommandTransformInfoQCOMcreate(long address)Returns a newVkCopyCommandTransformInfoQCOMinstance for the specified memory address.static VkCopyCommandTransformInfoQCOM.Buffercreate(long address, int capacity)Create aVkCopyCommandTransformInfoQCOM.Bufferinstance at the specified memory.static VkCopyCommandTransformInfoQCOMcreateSafe(long address)static VkCopyCommandTransformInfoQCOM.BuffercreateSafe(long address, int capacity)static VkCopyCommandTransformInfoQCOMmalloc()Returns a newVkCopyCommandTransformInfoQCOMinstance allocated withmemAlloc.static VkCopyCommandTransformInfoQCOM.Buffermalloc(int capacity)Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated withmemAlloc.static VkCopyCommandTransformInfoQCOM.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated on the specifiedMemoryStack.static VkCopyCommandTransformInfoQCOMmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCopyCommandTransformInfoQCOMinstance allocated on the specifiedMemoryStack.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.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.VkCopyCommandTransformInfoQCOMpNext(long value)Sets the specified value to thepNext()field.VkCopyCommandTransformInfoQCOMset(int sType, long pNext, int transform)Initializes this struct with the specified values.VkCopyCommandTransformInfoQCOMset(VkCopyCommandTransformInfoQCOM src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkCopyCommandTransformInfoQCOMsType(int value)Sets the specified value to thesType()field.VkCopyCommandTransformInfoQCOMsType$Default()Sets theSTRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOMvalue to thesType()field.inttransform()aVkSurfaceTransformFlagBitsKHRvalue describing the transform to be applied.VkCopyCommandTransformInfoQCOMtransform(int value)Sets the specified value to thetransform()field.
-
-
-
Constructor Detail
-
VkCopyCommandTransformInfoQCOM
public VkCopyCommandTransformInfoQCOM(java.nio.ByteBuffer container)
Creates aVkCopyCommandTransformInfoQCOMinstance 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.
-
sType
public VkCopyCommandTransformInfoQCOM sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkCopyCommandTransformInfoQCOM sType$Default()
Sets theSTRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOMvalue to thesType()field.
-
pNext
public VkCopyCommandTransformInfoQCOM pNext(long value)
Sets the specified value to thepNext()field.
-
transform
public VkCopyCommandTransformInfoQCOM transform(int value)
Sets the specified value to thetransform()field.
-
set
public VkCopyCommandTransformInfoQCOM set(int sType, long pNext, int transform)
Initializes this struct with the specified values.
-
set
public VkCopyCommandTransformInfoQCOM set(VkCopyCommandTransformInfoQCOM src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCopyCommandTransformInfoQCOM malloc()
Returns a newVkCopyCommandTransformInfoQCOMinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCopyCommandTransformInfoQCOM calloc()
Returns a newVkCopyCommandTransformInfoQCOMinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCopyCommandTransformInfoQCOM create()
Returns a newVkCopyCommandTransformInfoQCOMinstance allocated withBufferUtils.
-
create
public static VkCopyCommandTransformInfoQCOM create(long address)
Returns a newVkCopyCommandTransformInfoQCOMinstance for the specified memory address.
-
createSafe
@Nullable public static VkCopyCommandTransformInfoQCOM createSafe(long address)
-
malloc
public static VkCopyCommandTransformInfoQCOM.Buffer malloc(int capacity)
Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCopyCommandTransformInfoQCOM.Buffer calloc(int capacity)
Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCopyCommandTransformInfoQCOM.Buffer create(int capacity)
Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCopyCommandTransformInfoQCOM.Buffer create(long address, int capacity)
Create aVkCopyCommandTransformInfoQCOM.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCopyCommandTransformInfoQCOM.Buffer createSafe(long address, int capacity)
-
malloc
public static VkCopyCommandTransformInfoQCOM malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyCommandTransformInfoQCOMinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCopyCommandTransformInfoQCOM calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyCommandTransformInfoQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCopyCommandTransformInfoQCOM.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyCommandTransformInfoQCOM.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCopyCommandTransformInfoQCOM.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyCommandTransformInfoQCOM.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().
-
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.
-
-