Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkImageBlit2

extends Struct<VkImageBlit2>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkImageBlit2KHR
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying an image blit operation.
Description

For each element of the pRegions array, a blit operation is performed for the specified source and destination regions.

Valid Usage
Valid Usage (Implicit)
See Also

VkBlitImageInfo2, VkImageSubresourceLayers, VkOffset3D

Layout


struct VkImageBlit2 {
    VkStructureType sType;
    void const * pNext;
    VkImageSubresourceLayers srcSubresource;
    VkOffset3D srcOffsets[2];
    VkImageSubresourceLayers dstSubresource;
    VkOffset3D dstOffsets[2];
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
VkImageBlit2.Buffer

An array of VkImageBlit2 structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DSTOFFSETS

The struct member offsets.

public static final int
DSTSUBRESOURCE

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SRCOFFSETS

The struct member offsets.

public static final int
SRCSUBRESOURCE

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
VkImageBlit2(long address, ByteBuffer container)

public
VkImageBlit2(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkImageBlit2
calloc()

Returns a new VkImageBlit2 instance allocated with memCalloc.

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

Returns a new VkImageBlit2.Buffer instance allocated with memCalloc.

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

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

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

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

protected VkImageBlit2
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 VkImageBlit2
create()

Returns a new VkImageBlit2 instance allocated with BufferUtils.

public static VkImageBlit2
create(long address)

Returns a new VkImageBlit2 instance for the specified memory address.

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

Returns a new VkImageBlit2.Buffer instance allocated with BufferUtils.

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

Create a VkImageBlit2.Buffer instance at the specified memory.

public static VkImageBlit2
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public VkOffset3D.Buffer
dstOffsets()

a pointer to an array of two VkOffset3D structures specifying the bounds of the destination region within dstSubresource.

public VkOffset3D
dstOffsets(int index)

a pointer to an array of two VkOffset3D structures specifying the bounds of the destination region within dstSubresource.

public VkImageBlit2
dstOffsets(VkOffset3D.Buffer value)

Copies the specified VkOffset3D.Buffer to the dstOffsets field.

public VkImageBlit2
dstOffsets(int index, VkOffset3D value)

Copies the specified VkOffset3D at the specified index of the dstOffsets field.

public VkImageBlit2
dstOffsets(Consumer<VkOffset3D.Buffer> consumer)

Passes the dstOffsets field to the specified Consumer.

public VkImageBlit2
dstOffsets(int index, Consumer<VkOffset3D> consumer)

Passes the element at index of the dstOffsets field to the specified Consumer.

public VkImageSubresourceLayers
dstSubresource()

the subresource to blit into.

public VkImageBlit2
public VkImageBlit2
dstSubresource(Consumer<VkImageSubresourceLayers> consumer)

Passes the dstSubresource field to the specified Consumer.

public static VkImageBlit2
malloc()

Returns a new VkImageBlit2 instance allocated with memAlloc.

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

Returns a new VkImageBlit2.Buffer instance allocated with memAlloc.

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

Returns a new VkImageBlit2 instance allocated on the specified MemoryStack.

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

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

public static VkOffset3D.Buffer
ndstOffsets(long struct)

Unsafe version of dstOffsets.

public static VkOffset3D
ndstOffsets(long struct, int index)

Unsafe version of dstOffsets.

public static void
ndstOffsets(long struct, VkOffset3D.Buffer value)

Unsafe version of dstOffsets.

public static void
ndstOffsets(long struct, int index, VkOffset3D value)

Unsafe version of dstOffsets.

public static VkImageSubresourceLayers
ndstSubresource(long struct)

Unsafe version of dstSubresource.

public static void
ndstSubresource(long struct, VkImageSubresourceLayers value)

Unsafe version of dstSubresource.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkOffset3D.Buffer
nsrcOffsets(long struct)

Unsafe version of srcOffsets.

public static VkOffset3D
nsrcOffsets(long struct, int index)

Unsafe version of srcOffsets.

public static void
nsrcOffsets(long struct, VkOffset3D.Buffer value)

Unsafe version of srcOffsets.

public static void
nsrcOffsets(long struct, int index, VkOffset3D value)

Unsafe version of srcOffsets.

public static VkImageSubresourceLayers
nsrcSubresource(long struct)

Unsafe version of srcSubresource.

public static void
nsrcSubresource(long struct, VkImageSubresourceLayers value)

Unsafe version of srcSubresource.

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 VkImageBlit2
pNext(long value)

Sets the specified value to the pNext field.

public VkImageBlit2
pNext(VkCopyCommandTransformInfoQCOM value)

Prepends the specified VkCopyCommandTransformInfoQCOM value to the pNext chain.

public VkImageBlit2
set(int sType, long pNext, VkImageSubresourceLayers srcSubresource, VkOffset3D.Buffer srcOffsets, VkImageSubresourceLayers dstSubresource, VkOffset3D.Buffer dstOffsets)

Initializes this struct with the specified values.

public VkImageBlit2

Returns:

this struct
set
(VkImageBlit2
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 VkOffset3D.Buffer
srcOffsets()

a pointer to an array of two VkOffset3D structures specifying the bounds of the source region within srcSubresource.

public VkOffset3D
srcOffsets(int index)

a pointer to an array of two VkOffset3D structures specifying the bounds of the source region within srcSubresource.

public VkImageBlit2
srcOffsets(VkOffset3D.Buffer value)

Copies the specified VkOffset3D.Buffer to the srcOffsets field.

public VkImageBlit2
srcOffsets(int index, VkOffset3D value)

Copies the specified VkOffset3D at the specified index of the srcOffsets field.

public VkImageBlit2
srcOffsets(Consumer<VkOffset3D.Buffer> consumer)

Passes the srcOffsets field to the specified Consumer.

public VkImageBlit2
srcOffsets(int index, Consumer<VkOffset3D> consumer)

Passes the element at index of the srcOffsets field to the specified Consumer.

public VkImageSubresourceLayers
srcSubresource()

the subresource to blit from.

public VkImageBlit2
public VkImageBlit2
srcSubresource(Consumer<VkImageSubresourceLayers> consumer)

Passes the srcSubresource field to the specified Consumer.

public int
sType()

a VkStructureType value identifying this structure.

public VkImageBlit2
sType(int value)

Sets the specified value to the sType field.

public VkImageBlit2
sType$Default()

Sets the STRUCTURE_TYPE_IMAGE_BLIT_2 value to the sType field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate