Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkSparseImageMemoryBind

extends Struct<VkSparseImageMemoryBind>
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 sparse image memory bind.
Valid Usage
Valid Usage (Implicit)
See Also

VkExtent3D, VkImageSubresource, VkOffset3D, VkSparseImageMemoryBindInfo

Layout


struct VkSparseImageMemoryBind {
    VkImageSubresource subresource;
    VkOffset3D offset;
    VkExtent3D extent;
    VkDeviceMemory memory;
    VkDeviceSize memoryOffset;
    VkSparseMemoryBindFlags flags;
}

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
EXTENT

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
MEMORY

The struct member offsets.

public static final int
MEMORYOFFSET

The struct member offsets.

public static final int
OFFSET

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SUBRESOURCE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
VkSparseImageMemoryBind(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkSparseImageMemoryBind
calloc()

Returns a new VkSparseImageMemoryBind instance allocated with memCalloc.

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

Returns a new VkSparseImageMemoryBind.Buffer instance allocated with memCalloc.

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

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

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

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

public static VkSparseImageMemoryBind
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkSparseImageMemoryBind
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSparseImageMemoryBind.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSparseImageMemoryBind.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkSparseImageMemoryBind
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 VkSparseImageMemoryBind
create()

Returns a new VkSparseImageMemoryBind instance allocated with BufferUtils.

public static VkSparseImageMemoryBind
create(long address)

Returns a new VkSparseImageMemoryBind instance for the specified memory address.

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

Returns a new VkSparseImageMemoryBind.Buffer instance allocated with BufferUtils.

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

Create a VkSparseImageMemoryBind.Buffer instance at the specified memory.

public static VkSparseImageMemoryBind
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public VkExtent3D
extent()

the size in texels of the region within the image subresource to bind.

public VkSparseImageMemoryBind
extent(VkExtent3D value)

Copies the specified VkExtent3D to the extent field.

public VkSparseImageMemoryBind
extent(Consumer<VkExtent3D> consumer)

Passes the extent field to the specified Consumer.

public int
flags()

are sparse memory binding flags.

public VkSparseImageMemoryBind
flags(int value)

Sets the specified value to the flags field.

public static VkSparseImageMemoryBind
malloc()

Returns a new VkSparseImageMemoryBind instance allocated with memAlloc.

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

Returns a new VkSparseImageMemoryBind.Buffer instance allocated with memAlloc.

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

Returns a new VkSparseImageMemoryBind instance allocated on the specified MemoryStack.

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

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

public static VkSparseImageMemoryBind
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkSparseImageMemoryBind
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSparseImageMemoryBind.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSparseImageMemoryBind.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public long
memory()

the VkDeviceMemory object that the sparse image blocks of the image are bound to.

public VkSparseImageMemoryBind
memory(long value)

Sets the specified value to the memory field.

public long
memoryOffset()

an offset into VkDeviceMemory object.

public VkSparseImageMemoryBind
memoryOffset(long value)

Sets the specified value to the memoryOffset field.

public static VkExtent3D
nextent(long struct)

Unsafe version of extent.

public static void
nextent(long struct, VkExtent3D value)

Unsafe version of extent.

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
nmemory(long struct)

Unsafe version of memory.

public static void
nmemory(long struct, long value)

Unsafe version of memory.

public static long
nmemoryOffset(long struct)

Unsafe version of memoryOffset.

public static void
nmemoryOffset(long struct, long value)

Unsafe version of memoryOffset.

public static VkOffset3D
noffset(long struct)

Unsafe version of offset.

public static void
noffset(long struct, VkOffset3D value)

Unsafe version of offset.

public static VkImageSubresource
nsubresource(long struct)

Unsafe version of subresource.

public static void
nsubresource(long struct, VkImageSubresource value)

Unsafe version of subresource.

public VkOffset3D
offset()

are the coordinates of the first texel within the image subresource to bind.

public VkSparseImageMemoryBind
offset(VkOffset3D value)

Copies the specified VkOffset3D to the offset field.

public VkSparseImageMemoryBind
offset(Consumer<VkOffset3D> consumer)

Passes the offset field to the specified Consumer.

public VkSparseImageMemoryBind
set(VkImageSubresource subresource, VkOffset3D offset, VkExtent3D extent, long memory, long memoryOffset, int flags)

Initializes this struct with the specified values.

public VkSparseImageMemoryBind

Returns:

this struct
set
(VkSparseImageMemoryBind
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 VkImageSubresource
subresource()

the image aspect and region of interest in the image.

public VkSparseImageMemoryBind
subresource(VkImageSubresource value)

Copies the specified VkImageSubresource to the subresource field.

public VkSparseImageMemoryBind
subresource(Consumer<VkImageSubresource> consumer)

Passes the subresource field to the specified Consumer.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

EXTENTback to summary
public static final int EXTENT

The struct member offsets.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

MEMORYback to summary
public static final int MEMORY

The struct member offsets.

MEMORYOFFSETback to summary
public static final int MEMORYOFFSET

The struct member offsets.

OFFSETback to summary
public static final int OFFSET

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SUBRESOURCEback to summary
public static final int SUBRESOURCE

The struct member offsets.

Constructor Detail

VkSparseImageMemoryBindback to summary
protected VkSparseImageMemoryBind(long address, ByteBuffer container)
VkSparseImageMemoryBindback to summary
public VkSparseImageMemoryBind(ByteBuffer container)

Creates a VkSparseImageMemoryBind instance at the current position of the specified ByteBuffer container. 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

callocback to summary
public static VkSparseImageMemoryBind calloc()

Returns a new VkSparseImageMemoryBind instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkSparseImageMemoryBind.Buffer calloc(int capacity)

Returns a new VkSparseImageMemoryBind.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkSparseImageMemoryBind calloc(MemoryStack stack)

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

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkSparseImageMemoryBind.Buffer calloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VkSparseImageMemoryBind callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSparseImageMemoryBind callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSparseImageMemoryBind.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSparseImageMemoryBind.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VkSparseImageMemoryBind create(long address, ByteBuffer container)

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

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkSparseImageMemoryBind create()

Returns a new VkSparseImageMemoryBind instance allocated with BufferUtils.

createback to summary
public static VkSparseImageMemoryBind create(long address)

Returns a new VkSparseImageMemoryBind instance for the specified memory address.

createback to summary
public static VkSparseImageMemoryBind.Buffer create(int capacity)

Returns a new VkSparseImageMemoryBind.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkSparseImageMemoryBind.Buffer create(long address, int capacity)

Create a VkSparseImageMemoryBind.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkSparseImageMemoryBind createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkSparseImageMemoryBind.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
extentback to summary
public VkExtent3D extent()

the size in texels of the region within the image subresource to bind. The extent must be a multiple of the sparse image block dimensions, except when binding sparse image blocks along the edge of an image subresource it can instead be such that any coordinate of offset + extent equals the corresponding dimensions of the image subresource.

extentback to summary
public VkSparseImageMemoryBind extent(VkExtent3D value)

Copies the specified VkExtent3D to the extent field.

extentback to summary
public VkSparseImageMemoryBind extent(Consumer<VkExtent3D> consumer)

Passes the extent field to the specified Consumer.

flagsback to summary
public int flags()

are sparse memory binding flags.

Annotations
@NativeType:VkSparseMemoryBindFlags
flagsback to summary
public VkSparseImageMemoryBind flags(int value)

Sets the specified value to the flags field.

mallocback to summary
public static VkSparseImageMemoryBind malloc()

Returns a new VkSparseImageMemoryBind instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkSparseImageMemoryBind.Buffer malloc(int capacity)

Returns a new VkSparseImageMemoryBind.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkSparseImageMemoryBind malloc(MemoryStack stack)

Returns a new VkSparseImageMemoryBind instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkSparseImageMemoryBind.Buffer malloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VkSparseImageMemoryBind mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSparseImageMemoryBind mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSparseImageMemoryBind.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSparseImageMemoryBind.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
memoryback to summary
public long memory()

the VkDeviceMemory object that the sparse image blocks of the image are bound to. If memory is NULL_HANDLE, the sparse image blocks are unbound.

Annotations
@NativeType:VkDeviceMemory
memoryback to summary
public VkSparseImageMemoryBind memory(long value)

Sets the specified value to the memory field.

memoryOffsetback to summary
public long memoryOffset()

an offset into VkDeviceMemory object. If memory is NULL_HANDLE, this value is ignored.

Annotations
@NativeType:VkDeviceSize
memoryOffsetback to summary
public VkSparseImageMemoryBind memoryOffset(long value)

Sets the specified value to the memoryOffset field.

nextentback to summary
public static VkExtent3D nextent(long struct)

Unsafe version of extent.

nextentback to summary
public static void nextent(long struct, VkExtent3D value)

Unsafe version of extent.

nflagsback to summary
public static int nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, int value)

Unsafe version of flags.

nmemoryback to summary
public static long nmemory(long struct)

Unsafe version of memory.

nmemoryback to summary
public static void nmemory(long struct, long value)

Unsafe version of memory.

nmemoryOffsetback to summary
public static long nmemoryOffset(long struct)

Unsafe version of memoryOffset.

nmemoryOffsetback to summary
public static void nmemoryOffset(long struct, long value)

Unsafe version of memoryOffset.

noffsetback to summary
public static VkOffset3D noffset(long struct)

Unsafe version of offset.

noffsetback to summary
public static void noffset(long struct, VkOffset3D value)

Unsafe version of offset.

nsubresourceback to summary
public static VkImageSubresource nsubresource(long struct)

Unsafe version of subresource.

nsubresourceback to summary
public static void nsubresource(long struct, VkImageSubresource value)

Unsafe version of subresource.

offsetback to summary
public VkOffset3D offset()

are the coordinates of the first texel within the image subresource to bind.

offsetback to summary
public VkSparseImageMemoryBind offset(VkOffset3D value)

Copies the specified VkOffset3D to the offset field.

offsetback to summary
public VkSparseImageMemoryBind offset(Consumer<VkOffset3D> consumer)

Passes the offset field to the specified Consumer.

setback to summary
public VkSparseImageMemoryBind set(VkImageSubresource subresource, VkOffset3D offset, VkExtent3D extent, long memory, long memoryOffset, int flags)

Initializes this struct with the specified values.

setback to summary
public VkSparseImageMemoryBind set(VkSparseImageMemoryBind src)

Copies the specified struct data to this struct.

Parameters
src:VkSparseImageMemoryBind

the source struct

Returns:VkSparseImageMemoryBind

this struct

sizeofback to summary
public int sizeof()

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

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
subresourceback to summary
public VkImageSubresource subresource()

the image aspect and region of interest in the image.

subresourceback to summary
public VkSparseImageMemoryBind subresource(VkImageSubresource value)

Copies the specified VkImageSubresource to the subresource field.

subresourceback to summary
public VkSparseImageMemoryBind subresource(Consumer<VkImageSubresource> consumer)

Passes the subresource field to the specified Consumer.

org.lwjgl.vulkan back to summary

public Class VkSparseImageMemoryBind.Buffer

extends StructBuffer<VkSparseImageMemoryBind, VkSparseImageMemoryBind.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkSparseImageMemoryBind structs.

Field Summary

Modifier and TypeField and Description
private static final VkSparseImageMemoryBind

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkSparseImageMemoryBind.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public VkExtent3D

Returns:

a VkExtent3D view of the VkSparseImageMemoryBind#extent field.
extent
()

public VkSparseImageMemoryBind.Buffer
extent(VkExtent3D value)

Copies the specified VkExtent3D to the VkSparseImageMemoryBind#extent field.

public VkSparseImageMemoryBind.Buffer
extent(Consumer<VkExtent3D> consumer)

Passes the VkSparseImageMemoryBind#extent field to the specified Consumer.

public int

Returns:

the value of the VkSparseImageMemoryBind#flags field.
flags
()

public VkSparseImageMemoryBind.Buffer
flags(int value)

Sets the specified value to the VkSparseImageMemoryBind#flags field.

protected VkSparseImageMemoryBind
public long

Returns:

the value of the VkSparseImageMemoryBind#memory field.
memory
()

public VkSparseImageMemoryBind.Buffer
memory(long value)

Sets the specified value to the VkSparseImageMemoryBind#memory field.

public long

Returns:

the value of the VkSparseImageMemoryBind#memoryOffset field.
memoryOffset
()

public VkSparseImageMemoryBind.Buffer
memoryOffset(long value)

Sets the specified value to the VkSparseImageMemoryBind#memoryOffset field.

public VkOffset3D

Returns:

a VkOffset3D view of the VkSparseImageMemoryBind#offset field.
offset
()

public VkSparseImageMemoryBind.Buffer
offset(VkOffset3D value)

Copies the specified VkOffset3D to the VkSparseImageMemoryBind#offset field.

public VkSparseImageMemoryBind.Buffer
offset(Consumer<VkOffset3D> consumer)

Passes the VkSparseImageMemoryBind#offset field to the specified Consumer.

protected VkSparseImageMemoryBind.Buffer
public VkImageSubresource
public VkSparseImageMemoryBind.Buffer
public VkSparseImageMemoryBind.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkSparseImageMemoryBind ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkSparseImageMemoryBind.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkSparseImageMemoryBind#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

extentback to summary
public VkExtent3D extent()
Returns:VkExtent3D

a VkExtent3D view of the VkSparseImageMemoryBind#extent field.

extentback to summary
public VkSparseImageMemoryBind.Buffer extent(VkExtent3D value)

Copies the specified VkExtent3D to the VkSparseImageMemoryBind#extent field.

extentback to summary
public VkSparseImageMemoryBind.Buffer extent(Consumer<VkExtent3D> consumer)

Passes the VkSparseImageMemoryBind#extent field to the specified Consumer.

flagsback to summary
public int flags()
Returns:int

the value of the VkSparseImageMemoryBind#flags field.

Annotations
@NativeType:VkSparseMemoryBindFlags
flagsback to summary
public VkSparseImageMemoryBind.Buffer flags(int value)

Sets the specified value to the VkSparseImageMemoryBind#flags field.

getElementFactoryback to summary
protected VkSparseImageMemoryBind getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
memoryback to summary
public long memory()
Returns:long

the value of the VkSparseImageMemoryBind#memory field.

Annotations
@NativeType:VkDeviceMemory
memoryback to summary
public VkSparseImageMemoryBind.Buffer memory(long value)

Sets the specified value to the VkSparseImageMemoryBind#memory field.

memoryOffsetback to summary
public long memoryOffset()
Returns:long

the value of the VkSparseImageMemoryBind#memoryOffset field.

Annotations
@NativeType:VkDeviceSize
memoryOffsetback to summary
public VkSparseImageMemoryBind.Buffer memoryOffset(long value)

Sets the specified value to the VkSparseImageMemoryBind#memoryOffset field.

offsetback to summary
public VkOffset3D offset()
Returns:VkOffset3D

a VkOffset3D view of the VkSparseImageMemoryBind#offset field.

offsetback to summary
public VkSparseImageMemoryBind.Buffer offset(VkOffset3D value)

Copies the specified VkOffset3D to the VkSparseImageMemoryBind#offset field.

offsetback to summary
public VkSparseImageMemoryBind.Buffer offset(Consumer<VkOffset3D> consumer)

Passes the VkSparseImageMemoryBind#offset field to the specified Consumer.

selfback to summary
protected VkSparseImageMemoryBind.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
subresourceback to summary
public VkImageSubresource subresource()
Returns:VkImageSubresource

a VkImageSubresource view of the VkSparseImageMemoryBind#subresource field.

subresourceback to summary
public VkSparseImageMemoryBind.Buffer subresource(VkImageSubresource value)

Copies the specified VkImageSubresource to the VkSparseImageMemoryBind#subresource field.

subresourceback to summary
public VkSparseImageMemoryBind.Buffer subresource(Consumer<VkImageSubresource> consumer)

Passes the VkSparseImageMemoryBind#subresource field to the specified Consumer.