Class VkDescriptorMappingSourceIndirectIndexArrayEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDescriptorMappingSourceIndirectIndexArrayEXT>
org.lwjgl.vulkan.VkDescriptorMappingSourceIndirectIndexArrayEXT
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
public class VkDescriptorMappingSourceIndirectIndexArrayEXT
extends Struct<VkDescriptorMappingSourceIndirectIndexArrayEXT>
implements NativeResource
struct VkDescriptorMappingSourceIndirectIndexArrayEXT {
uint32_t heapOffset;
uint32_t pushOffset;
uint32_t addressOffset;
uint32_t heapIndexStride;
VkSamplerCreateInfo const * pEmbeddedSampler;
VkBool32 useCombinedImageSamplerIndex;
uint32_t samplerHeapOffset;
uint32_t samplerPushOffset;
uint32_t samplerAddressOffset;
uint32_t samplerHeapIndexStride;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkDescriptorMappingSourceIndirectIndexArrayEXTstructs.Nested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct member offsets.static final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkDescriptorMappingSourceIndirectIndexArrayEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintaddressOffset(int value) Sets the specified value to theaddressOffsetfield.calloc()Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance for the specified memory address.create(long address, int capacity) Create aVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance at the specified memory.static @Nullable VkDescriptorMappingSourceIndirectIndexArrayEXTcreateSafe(long address) static @Nullable VkDescriptorMappingSourceIndirectIndexArrayEXT.BuffercreateSafe(long address, int capacity) intheapIndexStride(int value) Sets the specified value to theheapIndexStridefield.intheapOffset(int value) Sets the specified value to theheapOffsetfield.malloc()Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated on the specifiedMemoryStack.static intnaddressOffset(long struct) Unsafe version ofaddressOffset().static voidnaddressOffset(long struct, int value) Unsafe version ofaddressOffset.static intnheapIndexStride(long struct) Unsafe version ofheapIndexStride().static voidnheapIndexStride(long struct, int value) Unsafe version ofheapIndexStride.static intnheapOffset(long struct) Unsafe version ofheapOffset().static voidnheapOffset(long struct, int value) Unsafe version ofheapOffset.static @Nullable VkSamplerCreateInfonpEmbeddedSampler(long struct) Unsafe version ofpEmbeddedSampler().static voidnpEmbeddedSampler(long struct, @Nullable VkSamplerCreateInfo value) Unsafe version ofpEmbeddedSampler.static intnpushOffset(long struct) Unsafe version ofpushOffset().static voidnpushOffset(long struct, int value) Unsafe version ofpushOffset.static intnsamplerAddressOffset(long struct) Unsafe version ofsamplerAddressOffset().static voidnsamplerAddressOffset(long struct, int value) Unsafe version ofsamplerAddressOffset.static intnsamplerHeapIndexStride(long struct) Unsafe version ofsamplerHeapIndexStride().static voidnsamplerHeapIndexStride(long struct, int value) Unsafe version ofsamplerHeapIndexStride.static intnsamplerHeapOffset(long struct) Unsafe version ofsamplerHeapOffset().static voidnsamplerHeapOffset(long struct, int value) Unsafe version ofsamplerHeapOffset.static intnsamplerPushOffset(long struct) Unsafe version ofsamplerPushOffset().static voidnsamplerPushOffset(long struct, int value) Unsafe version ofsamplerPushOffset.static intnuseCombinedImageSamplerIndex(long struct) Unsafe version ofuseCombinedImageSamplerIndex().static voidnuseCombinedImageSamplerIndex(long struct, int value) Unsafe version ofuseCombinedImageSamplerIndex.@Nullable VkSamplerCreateInfopEmbeddedSampler(@Nullable VkSamplerCreateInfo value) Sets the address of the specifiedVkSamplerCreateInfoto thepEmbeddedSamplerfield.intpushOffset(int value) Sets the specified value to thepushOffsetfield.intsamplerAddressOffset(int value) Sets the specified value to thesamplerAddressOffsetfield.intsamplerHeapIndexStride(int value) Sets the specified value to thesamplerHeapIndexStridefield.intsamplerHeapOffset(int value) Sets the specified value to thesamplerHeapOffsetfield.intsamplerPushOffset(int value) Sets the specified value to thesamplerPushOffsetfield.set(int heapOffset, int pushOffset, int addressOffset, int heapIndexStride, @Nullable VkSamplerCreateInfo pEmbeddedSampler, boolean useCombinedImageSamplerIndex, int samplerHeapOffset, int samplerPushOffset, int samplerAddressOffset, int samplerHeapIndexStride) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).booleanuseCombinedImageSamplerIndex(boolean value) Sets the specified value to theuseCombinedImageSamplerIndexfield.Methods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
HEAPOFFSET
public static final int HEAPOFFSETThe struct member offsets. -
PUSHOFFSET
public static final int PUSHOFFSETThe struct member offsets. -
ADDRESSOFFSET
public static final int ADDRESSOFFSETThe struct member offsets. -
HEAPINDEXSTRIDE
public static final int HEAPINDEXSTRIDEThe struct member offsets. -
PEMBEDDEDSAMPLER
public static final int PEMBEDDEDSAMPLERThe struct member offsets. -
USECOMBINEDIMAGESAMPLERINDEX
public static final int USECOMBINEDIMAGESAMPLERINDEXThe struct member offsets. -
SAMPLERHEAPOFFSET
public static final int SAMPLERHEAPOFFSETThe struct member offsets. -
SAMPLERPUSHOFFSET
public static final int SAMPLERPUSHOFFSETThe struct member offsets. -
SAMPLERADDRESSOFFSET
public static final int SAMPLERADDRESSOFFSETThe struct member offsets. -
SAMPLERHEAPINDEXSTRIDE
public static final int SAMPLERHEAPINDEXSTRIDEThe struct member offsets.
-
-
Constructor Details
-
VkDescriptorMappingSourceIndirectIndexArrayEXT
Creates aVkDescriptorMappingSourceIndirectIndexArrayEXTinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkDescriptorMappingSourceIndirectIndexArrayEXT>
-
heapOffset
- Returns:
- the value of the
heapOffsetfield.
-
pushOffset
- Returns:
- the value of the
pushOffsetfield.
-
addressOffset
- Returns:
- the value of the
addressOffsetfield.
-
heapIndexStride
- Returns:
- the value of the
heapIndexStridefield.
-
pEmbeddedSampler
- Returns:
- a
VkSamplerCreateInfoview of the struct pointed to by thepEmbeddedSamplerfield.
-
useCombinedImageSamplerIndex
- Returns:
- the value of the
useCombinedImageSamplerIndexfield.
-
samplerHeapOffset
- Returns:
- the value of the
samplerHeapOffsetfield.
-
samplerPushOffset
- Returns:
- the value of the
samplerPushOffsetfield.
-
samplerAddressOffset
- Returns:
- the value of the
samplerAddressOffsetfield.
-
samplerHeapIndexStride
- Returns:
- the value of the
samplerHeapIndexStridefield.
-
heapOffset
Sets the specified value to theheapOffsetfield. -
pushOffset
Sets the specified value to thepushOffsetfield. -
addressOffset
public VkDescriptorMappingSourceIndirectIndexArrayEXT addressOffset(@NativeType("uint32_t") int value) Sets the specified value to theaddressOffsetfield. -
heapIndexStride
public VkDescriptorMappingSourceIndirectIndexArrayEXT heapIndexStride(@NativeType("uint32_t") int value) Sets the specified value to theheapIndexStridefield. -
pEmbeddedSampler
public VkDescriptorMappingSourceIndirectIndexArrayEXT pEmbeddedSampler(@NativeType("VkSamplerCreateInfo const *") @Nullable VkSamplerCreateInfo value) Sets the address of the specifiedVkSamplerCreateInfoto thepEmbeddedSamplerfield. -
useCombinedImageSamplerIndex
public VkDescriptorMappingSourceIndirectIndexArrayEXT useCombinedImageSamplerIndex(@NativeType("VkBool32") boolean value) Sets the specified value to theuseCombinedImageSamplerIndexfield. -
samplerHeapOffset
public VkDescriptorMappingSourceIndirectIndexArrayEXT samplerHeapOffset(@NativeType("uint32_t") int value) Sets the specified value to thesamplerHeapOffsetfield. -
samplerPushOffset
public VkDescriptorMappingSourceIndirectIndexArrayEXT samplerPushOffset(@NativeType("uint32_t") int value) Sets the specified value to thesamplerPushOffsetfield. -
samplerAddressOffset
public VkDescriptorMappingSourceIndirectIndexArrayEXT samplerAddressOffset(@NativeType("uint32_t") int value) Sets the specified value to thesamplerAddressOffsetfield. -
samplerHeapIndexStride
public VkDescriptorMappingSourceIndirectIndexArrayEXT samplerHeapIndexStride(@NativeType("uint32_t") int value) Sets the specified value to thesamplerHeapIndexStridefield. -
set
public VkDescriptorMappingSourceIndirectIndexArrayEXT set(int heapOffset, int pushOffset, int addressOffset, int heapIndexStride, @Nullable VkSamplerCreateInfo pEmbeddedSampler, boolean useCombinedImageSamplerIndex, int samplerHeapOffset, int samplerPushOffset, int samplerAddressOffset, int samplerHeapIndexStride) Initializes this struct with the specified values. -
set
public VkDescriptorMappingSourceIndirectIndexArrayEXT set(VkDescriptorMappingSourceIndirectIndexArrayEXT src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated withBufferUtils. -
create
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorMappingSourceIndirectIndexArrayEXT.Buffer create(long address, int capacity) Create aVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkDescriptorMappingSourceIndirectIndexArrayEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDescriptorMappingSourceIndirectIndexArrayEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkDescriptorMappingSourceIndirectIndexArrayEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexArrayEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nheapOffset
public static int nheapOffset(long struct) Unsafe version ofheapOffset(). -
npushOffset
public static int npushOffset(long struct) Unsafe version ofpushOffset(). -
naddressOffset
public static int naddressOffset(long struct) Unsafe version ofaddressOffset(). -
nheapIndexStride
public static int nheapIndexStride(long struct) Unsafe version ofheapIndexStride(). -
npEmbeddedSampler
Unsafe version ofpEmbeddedSampler(). -
nuseCombinedImageSamplerIndex
public static int nuseCombinedImageSamplerIndex(long struct) Unsafe version ofuseCombinedImageSamplerIndex(). -
nsamplerHeapOffset
public static int nsamplerHeapOffset(long struct) Unsafe version ofsamplerHeapOffset(). -
nsamplerPushOffset
public static int nsamplerPushOffset(long struct) Unsafe version ofsamplerPushOffset(). -
nsamplerAddressOffset
public static int nsamplerAddressOffset(long struct) Unsafe version ofsamplerAddressOffset(). -
nsamplerHeapIndexStride
public static int nsamplerHeapIndexStride(long struct) Unsafe version ofsamplerHeapIndexStride(). -
nheapOffset
public static void nheapOffset(long struct, int value) Unsafe version ofheapOffset. -
npushOffset
public static void npushOffset(long struct, int value) Unsafe version ofpushOffset. -
naddressOffset
public static void naddressOffset(long struct, int value) Unsafe version ofaddressOffset. -
nheapIndexStride
public static void nheapIndexStride(long struct, int value) Unsafe version ofheapIndexStride. -
npEmbeddedSampler
Unsafe version ofpEmbeddedSampler. -
nuseCombinedImageSamplerIndex
public static void nuseCombinedImageSamplerIndex(long struct, int value) Unsafe version ofuseCombinedImageSamplerIndex. -
nsamplerHeapOffset
public static void nsamplerHeapOffset(long struct, int value) Unsafe version ofsamplerHeapOffset. -
nsamplerPushOffset
public static void nsamplerPushOffset(long struct, int value) Unsafe version ofsamplerPushOffset. -
nsamplerAddressOffset
public static void nsamplerAddressOffset(long struct, int value) Unsafe version ofsamplerAddressOffset. -
nsamplerHeapIndexStride
public static void nsamplerHeapIndexStride(long struct, int value) Unsafe version ofsamplerHeapIndexStride.
-