Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkCopyImageToImageInfoEXT

extends Struct<VkCopyImageToImageInfoEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying parameters of an image to image host copy command.
Description

vkCopyImageToImageEXT does not check whether the device memory associated with srcImage or dstImage is currently in use before performing the copy. The application must guarantee that any previously submitted command that writes to the copy regions has completed before the host performs the copy.

Valid Usage
Valid Usage (Implicit)
See Also

VkImageCopy2, CopyImageToImageEXT

Layout


struct VkCopyImageToImageInfoEXT {
    VkStructureType sType;
    void const * pNext;
    VkHostImageCopyFlagsEXT flags;
    VkImage srcImage;
    VkImageLayout srcImageLayout;
    VkImage dstImage;
    VkImageLayout dstImageLayout;
    uint32_t regionCount;
    VkImageCopy2 const * pRegions;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DSTIMAGE

The struct member offsets.

public static final int
DSTIMAGELAYOUT

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PREGIONS

The struct member offsets.

public static final int
REGIONCOUNT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SRCIMAGE

The struct member offsets.

public static final int
SRCIMAGELAYOUT

The struct member offsets.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkCopyImageToImageInfoEXT(long address, ByteBuffer container)

public
VkCopyImageToImageInfoEXT(ByteBuffer container)

Creates a VkCopyImageToImageInfoEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkCopyImageToImageInfoEXT
calloc()

Returns a new VkCopyImageToImageInfoEXT instance allocated with memCalloc.

public static VkCopyImageToImageInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkCopyImageToImageInfoEXT.Buffer instance allocated with memCalloc.

public static VkCopyImageToImageInfoEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCopyImageToImageInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkCopyImageToImageInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCopyImageToImageInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkCopyImageToImageInfoEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkCopyImageToImageInfoEXT
create()

Returns a new VkCopyImageToImageInfoEXT instance allocated with BufferUtils.

public static VkCopyImageToImageInfoEXT
create(long address)

Returns a new VkCopyImageToImageInfoEXT instance for the specified memory address.

public static VkCopyImageToImageInfoEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkCopyImageToImageInfoEXT.Buffer instance allocated with BufferUtils.

public static VkCopyImageToImageInfoEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkCopyImageToImageInfoEXT.Buffer instance at the specified memory.

public static VkCopyImageToImageInfoEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkCopyImageToImageInfoEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long
dstImage()

the destination image.

public VkCopyImageToImageInfoEXT
dstImage(long value)

Sets the specified value to the dstImage field.

public int
dstImageLayout()

the layout of the destination image subresources for the copy.

public VkCopyImageToImageInfoEXT
dstImageLayout(int value)

Sets the specified value to the dstImageLayout field.

public int
flags()

a bitmask of VkHostImageCopyFlagBitsEXT values describing additional copy parameters.

public VkCopyImageToImageInfoEXT
flags(int value)

Sets the specified value to the flags field.

public static VkCopyImageToImageInfoEXT
malloc()

Returns a new VkCopyImageToImageInfoEXT instance allocated with memAlloc.

public static VkCopyImageToImageInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkCopyImageToImageInfoEXT.Buffer instance allocated with memAlloc.

public static VkCopyImageToImageInfoEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCopyImageToImageInfoEXT instance allocated on the specified MemoryStack.

public static VkCopyImageToImageInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCopyImageToImageInfoEXT.Buffer instance allocated on the specified MemoryStack.

public static long
ndstImage(long struct)

Unsafe version of dstImage.

public static void
ndstImage(long struct, long value)

Unsafe version of dstImage.

public static int
ndstImageLayout(long struct)

Unsafe version of dstImageLayout.

public static void
ndstImageLayout(long struct, int value)

Unsafe version of dstImageLayout.

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkImageCopy2.Buffer
npRegions(long struct)

Unsafe version of pRegions.

public static void
npRegions(long struct, VkImageCopy2.Buffer value)

Unsafe version of pRegions.

public static int
nregionCount(long struct)

Unsafe version of regionCount.

public static void
nregionCount(long struct, int value)

Sets the specified value to the regionCount field of the specified struct.

public static long
nsrcImage(long struct)

Unsafe version of srcImage.

public static void
nsrcImage(long struct, long value)

Unsafe version of srcImage.

public static int
nsrcImageLayout(long struct)

Unsafe version of srcImageLayout.

public static void
nsrcImageLayout(long struct, int value)

Unsafe version of srcImageLayout.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkCopyImageToImageInfoEXT
pNext(long value)

Sets the specified value to the pNext field.

public VkImageCopy2.Buffer
pRegions()

a pointer to an array of VkImageCopy2 structures specifying the regions to copy.

public VkCopyImageToImageInfoEXT
pRegions(VkImageCopy2.Buffer value)

Sets the address of the specified VkImageCopy2.Buffer to the pRegions field.

public int
regionCount()

the number of regions to copy.

public VkCopyImageToImageInfoEXT
set(int sType, long pNext, int flags, long srcImage, int srcImageLayout, long dstImage, int dstImageLayout, VkImageCopy2.Buffer pRegions)

Initializes this struct with the specified values.

public VkCopyImageToImageInfoEXT

Returns:

this struct
set
(VkCopyImageToImageInfoEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long
srcImage()

the source image.

public VkCopyImageToImageInfoEXT
srcImage(long value)

Sets the specified value to the srcImage field.

public int
srcImageLayout()

the layout of the source image subresources for the copy.

public VkCopyImageToImageInfoEXT
srcImageLayout(int value)

Sets the specified value to the srcImageLayout field.

public int
sType()

a VkStructureType value identifying this structure.

public VkCopyImageToImageInfoEXT
sType(int value)

Sets the specified value to the sType field.

public VkCopyImageToImageInfoEXT
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate