Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkBlitImageInfo2

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

Structure specifying parameters of blit image command.
Valid Usage
Valid Usage (Implicit)
See Also

VkImageBlit2, CmdBlitImage2, CmdBlitImage2KHR

Layout


struct VkBlitImageInfo2 {
    VkStructureType sType;
    void const * pNext;
    VkImage srcImage;
    VkImageLayout srcImageLayout;
    VkImage dstImage;
    VkImageLayout dstImageLayout;
    uint32_t regionCount;
    VkImageBlit2 const * pRegions;
    VkFilter filter;
}

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
FILTER

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

public
VkBlitImageInfo2(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkBlitImageInfo2
calloc()

Returns a new VkBlitImageInfo2 instance allocated with memCalloc.

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

Returns a new VkBlitImageInfo2.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new VkBlitImageInfo2 instance allocated with BufferUtils.

public static VkBlitImageInfo2
create(long address)

Returns a new VkBlitImageInfo2 instance for the specified memory address.

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

Returns a new VkBlitImageInfo2.Buffer instance allocated with BufferUtils.

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

Create a VkBlitImageInfo2.Buffer instance at the specified memory.

public static VkBlitImageInfo2
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public long
dstImage()

the destination image.

public VkBlitImageInfo2
dstImage(long value)

Sets the specified value to the dstImage field.

public int
dstImageLayout()

the layout of the destination image subresources for the blit.

public VkBlitImageInfo2
dstImageLayout(int value)

Sets the specified value to the dstImageLayout field.

public int
filter()

a VkFilter specifying the filter to apply if the blits require scaling.

public VkBlitImageInfo2
filter(int value)

Sets the specified value to the filter field.

public static VkBlitImageInfo2
malloc()

Returns a new VkBlitImageInfo2 instance allocated with memAlloc.

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

Returns a new VkBlitImageInfo2.Buffer instance allocated with memAlloc.

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

Returns a new VkBlitImageInfo2 instance allocated on the specified MemoryStack.

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

Returns a new VkBlitImageInfo2.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
nfilter(long struct)

Unsafe version of filter.

public static void
nfilter(long struct, int value)

Unsafe version of filter.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkImageBlit2.Buffer
npRegions(long struct)

Unsafe version of pRegions.

public static void
npRegions(long struct, VkImageBlit2.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 VkBlitImageInfo2
pNext(long value)

Sets the specified value to the pNext field.

public VkBlitImageInfo2
pNext(VkBlitImageCubicWeightsInfoQCOM value)

Prepends the specified VkBlitImageCubicWeightsInfoQCOM value to the pNext chain.

public VkImageBlit2.Buffer
pRegions()

a pointer to an array of VkImageBlit2 structures specifying the regions to blit.

public VkBlitImageInfo2
pRegions(VkImageBlit2.Buffer value)

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

public int
regionCount()

the number of regions to blit.

public VkBlitImageInfo2
set(int sType, long pNext, long srcImage, int srcImageLayout, long dstImage, int dstImageLayout, VkImageBlit2.Buffer pRegions, int filter)

Initializes this struct with the specified values.

public VkBlitImageInfo2

Returns:

this struct
set
(VkBlitImageInfo2
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 VkBlitImageInfo2
srcImage(long value)

Sets the specified value to the srcImage field.

public int
srcImageLayout()

the layout of the source image subresources for the blit.

public VkBlitImageInfo2
srcImageLayout(int value)

Sets the specified value to the srcImageLayout field.

public int
sType()

a VkStructureType value identifying this structure.

public VkBlitImageInfo2
sType(int value)

Sets the specified value to the sType field.

public VkBlitImageInfo2
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