Package org.lwjgl.vulkan
Class VkCopyImageInfo2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCopyImageInfo2
-
- org.lwjgl.vulkan.VkCopyImageInfo2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCopyImageInfo2KHR extends VkCopyImageInfo2
SeeVkCopyImageInfo2.Layout
struct VkCopyImageInfo2KHR { VkStructureType sType; void const * pNext; VkImage srcImage; VkImageLayout srcImageLayout; VkImage dstImage; VkImageLayout dstImageLayout; uint32_t regionCount;VkImageCopy2const * pRegions; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCopyImageInfo2KHR.BufferAn array ofVkCopyImageInfo2KHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkCopyImageInfo2
ALIGNOF, DSTIMAGE, DSTIMAGELAYOUT, PNEXT, PREGIONS, REGIONCOUNT, SIZEOF, SRCIMAGE, SRCIMAGELAYOUT, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkCopyImageInfo2KHR(java.nio.ByteBuffer container)Creates aVkCopyImageInfo2KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkCopyImageInfo2KHRcalloc()Returns a newVkCopyImageInfo2KHRinstance allocated withmemCalloc.static VkCopyImageInfo2KHR.Buffercalloc(int capacity)Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated withmemCalloc.static VkCopyImageInfo2KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCopyImageInfo2KHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCopyImageInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCopyImageInfo2KHRcreate()Returns a newVkCopyImageInfo2KHRinstance allocated withBufferUtils.static VkCopyImageInfo2KHR.Buffercreate(int capacity)Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated withBufferUtils.static VkCopyImageInfo2KHRcreate(long address)Returns a newVkCopyImageInfo2KHRinstance for the specified memory address.static VkCopyImageInfo2KHR.Buffercreate(long address, int capacity)Create aVkCopyImageInfo2KHR.Bufferinstance at the specified memory.static VkCopyImageInfo2KHRcreateSafe(long address)static VkCopyImageInfo2KHR.BuffercreateSafe(long address, int capacity)VkCopyImageInfo2KHRdstImage(long value)Sets the specified value to thedstImagefield.VkCopyImageInfo2KHRdstImageLayout(int value)Sets the specified value to thedstImageLayoutfield.static VkCopyImageInfo2KHRmalloc()Returns a newVkCopyImageInfo2KHRinstance allocated withmemAlloc.static VkCopyImageInfo2KHR.Buffermalloc(int capacity)Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated withmemAlloc.static VkCopyImageInfo2KHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkCopyImageInfo2KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCopyImageInfo2KHRinstance allocated on the specifiedMemoryStack.VkCopyImageInfo2KHRpNext(long value)Sets the specified value to thepNextfield.VkCopyImageInfo2KHRpRegions(VkImageCopy2.Buffer value)Sets the address of the specifiedVkImageCopy2.Bufferto thepRegionsfield.VkCopyImageInfo2KHRset(int sType, long pNext, long srcImage, int srcImageLayout, long dstImage, int dstImageLayout, VkImageCopy2.Buffer pRegions)Initializes this struct with the specified values.VkCopyImageInfo2KHRset(VkCopyImageInfo2KHR src)Copies the specified struct data to this struct.VkCopyImageInfo2KHRsrcImage(long value)Sets the specified value to thesrcImagefield.VkCopyImageInfo2KHRsrcImageLayout(int value)Sets the specified value to thesrcImageLayoutfield.VkCopyImageInfo2KHRsType(int value)Sets the specified value to thesTypefield.VkCopyImageInfo2KHRsType$Default()Sets theSTRUCTURE_TYPE_COPY_IMAGE_INFO_2value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkCopyImageInfo2
dstImage, dstImageLayout, ndstImage, ndstImage, ndstImageLayout, ndstImageLayout, npNext, npNext, npRegions, npRegions, nregionCount, nregionCount, nsrcImage, nsrcImage, nsrcImageLayout, nsrcImageLayout, nsType, nsType, pNext, pRegions, regionCount, set, sizeof, srcImage, srcImageLayout, sType, validate
-
-
-
-
Constructor Detail
-
VkCopyImageInfo2KHR
public VkCopyImageInfo2KHR(java.nio.ByteBuffer container)
Creates aVkCopyImageInfo2KHRinstance 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
-
sType
public VkCopyImageInfo2KHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkCopyImageInfo2
-
sType$Default
public VkCopyImageInfo2KHR sType$Default()
Sets theSTRUCTURE_TYPE_COPY_IMAGE_INFO_2value to thesTypefield.- Overrides:
sType$Defaultin classVkCopyImageInfo2
-
pNext
public VkCopyImageInfo2KHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkCopyImageInfo2
-
srcImage
public VkCopyImageInfo2KHR srcImage(long value)
Sets the specified value to thesrcImagefield.- Overrides:
srcImagein classVkCopyImageInfo2
-
srcImageLayout
public VkCopyImageInfo2KHR srcImageLayout(int value)
Sets the specified value to thesrcImageLayoutfield.- Overrides:
srcImageLayoutin classVkCopyImageInfo2
-
dstImage
public VkCopyImageInfo2KHR dstImage(long value)
Sets the specified value to thedstImagefield.- Overrides:
dstImagein classVkCopyImageInfo2
-
dstImageLayout
public VkCopyImageInfo2KHR dstImageLayout(int value)
Sets the specified value to thedstImageLayoutfield.- Overrides:
dstImageLayoutin classVkCopyImageInfo2
-
pRegions
public VkCopyImageInfo2KHR pRegions(VkImageCopy2.Buffer value)
Sets the address of the specifiedVkImageCopy2.Bufferto thepRegionsfield.- Overrides:
pRegionsin classVkCopyImageInfo2
-
set
public VkCopyImageInfo2KHR set(int sType, long pNext, long srcImage, int srcImageLayout, long dstImage, int dstImageLayout, VkImageCopy2.Buffer pRegions)
Initializes this struct with the specified values.- Overrides:
setin classVkCopyImageInfo2
-
set
public VkCopyImageInfo2KHR set(VkCopyImageInfo2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCopyImageInfo2KHR malloc()
Returns a newVkCopyImageInfo2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCopyImageInfo2KHR calloc()
Returns a newVkCopyImageInfo2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCopyImageInfo2KHR create()
Returns a newVkCopyImageInfo2KHRinstance allocated withBufferUtils.
-
create
public static VkCopyImageInfo2KHR create(long address)
Returns a newVkCopyImageInfo2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkCopyImageInfo2KHR createSafe(long address)
-
malloc
public static VkCopyImageInfo2KHR.Buffer malloc(int capacity)
Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCopyImageInfo2KHR.Buffer calloc(int capacity)
Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCopyImageInfo2KHR.Buffer create(int capacity)
Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCopyImageInfo2KHR.Buffer create(long address, int capacity)
Create aVkCopyImageInfo2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCopyImageInfo2KHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkCopyImageInfo2KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyImageInfo2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCopyImageInfo2KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyImageInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCopyImageInfo2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCopyImageInfo2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCopyImageInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-