Class VkDescriptorMappingSourceIndirectIndexEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDescriptorMappingSourceIndirectIndexEXT>
org.lwjgl.vulkan.VkDescriptorMappingSourceIndirectIndexEXT
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
public class VkDescriptorMappingSourceIndirectIndexEXT
extends Struct<VkDescriptorMappingSourceIndirectIndexEXT>
implements NativeResource
struct VkDescriptorMappingSourceIndirectIndexEXT {
uint32_t heapOffset;
uint32_t pushOffset;
uint32_t addressOffset;
uint32_t heapIndexStride;
uint32_t heapArrayStride;
VkSamplerCreateInfo const * pEmbeddedSampler;
VkBool32 useCombinedImageSamplerIndex;
uint32_t samplerHeapOffset;
uint32_t samplerPushOffset;
uint32_t samplerAddressOffset;
uint32_t samplerHeapIndexStride;
uint32_t samplerHeapArrayStride;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkDescriptorMappingSourceIndirectIndexEXTstructs.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 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 aVkDescriptorMappingSourceIndirectIndexEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintaddressOffset(int value) Sets the specified value to theaddressOffsetfield.calloc()Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance for the specified memory address.create(long address, int capacity) Create aVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance at the specified memory.static @Nullable VkDescriptorMappingSourceIndirectIndexEXTcreateSafe(long address) static @Nullable VkDescriptorMappingSourceIndirectIndexEXT.BuffercreateSafe(long address, int capacity) intheapArrayStride(int value) Sets the specified value to theheapArrayStridefield.intheapIndexStride(int value) Sets the specified value to theheapIndexStridefield.intheapOffset(int value) Sets the specified value to theheapOffsetfield.malloc()Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated on the specifiedMemoryStack.static intnaddressOffset(long struct) Unsafe version ofaddressOffset().static voidnaddressOffset(long struct, int value) Unsafe version ofaddressOffset.static intnheapArrayStride(long struct) Unsafe version ofheapArrayStride().static voidnheapArrayStride(long struct, int value) Unsafe version ofheapArrayStride.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 intnsamplerHeapArrayStride(long struct) Unsafe version ofsamplerHeapArrayStride().static voidnsamplerHeapArrayStride(long struct, int value) Unsafe version ofsamplerHeapArrayStride.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.intsamplerHeapArrayStride(int value) Sets the specified value to thesamplerHeapArrayStridefield.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, int heapArrayStride, @Nullable VkSamplerCreateInfo pEmbeddedSampler, boolean useCombinedImageSamplerIndex, int samplerHeapOffset, int samplerPushOffset, int samplerAddressOffset, int samplerHeapIndexStride, int samplerHeapArrayStride) 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. -
HEAPARRAYSTRIDE
public static final int HEAPARRAYSTRIDEThe 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. -
SAMPLERHEAPARRAYSTRIDE
public static final int SAMPLERHEAPARRAYSTRIDEThe struct member offsets.
-
-
Constructor Details
-
VkDescriptorMappingSourceIndirectIndexEXT
Creates aVkDescriptorMappingSourceIndirectIndexEXTinstance 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<VkDescriptorMappingSourceIndirectIndexEXT>
-
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.
-
heapArrayStride
- Returns:
- the value of the
heapArrayStridefield.
-
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.
-
samplerHeapArrayStride
- Returns:
- the value of the
samplerHeapArrayStridefield.
-
heapOffset
Sets the specified value to theheapOffsetfield. -
pushOffset
Sets the specified value to thepushOffsetfield. -
addressOffset
Sets the specified value to theaddressOffsetfield. -
heapIndexStride
Sets the specified value to theheapIndexStridefield. -
heapArrayStride
Sets the specified value to theheapArrayStridefield. -
pEmbeddedSampler
public VkDescriptorMappingSourceIndirectIndexEXT pEmbeddedSampler(@NativeType("VkSamplerCreateInfo const *") @Nullable VkSamplerCreateInfo value) Sets the address of the specifiedVkSamplerCreateInfoto thepEmbeddedSamplerfield. -
useCombinedImageSamplerIndex
public VkDescriptorMappingSourceIndirectIndexEXT useCombinedImageSamplerIndex(@NativeType("VkBool32") boolean value) Sets the specified value to theuseCombinedImageSamplerIndexfield. -
samplerHeapOffset
public VkDescriptorMappingSourceIndirectIndexEXT samplerHeapOffset(@NativeType("uint32_t") int value) Sets the specified value to thesamplerHeapOffsetfield. -
samplerPushOffset
public VkDescriptorMappingSourceIndirectIndexEXT samplerPushOffset(@NativeType("uint32_t") int value) Sets the specified value to thesamplerPushOffsetfield. -
samplerAddressOffset
public VkDescriptorMappingSourceIndirectIndexEXT samplerAddressOffset(@NativeType("uint32_t") int value) Sets the specified value to thesamplerAddressOffsetfield. -
samplerHeapIndexStride
public VkDescriptorMappingSourceIndirectIndexEXT samplerHeapIndexStride(@NativeType("uint32_t") int value) Sets the specified value to thesamplerHeapIndexStridefield. -
samplerHeapArrayStride
public VkDescriptorMappingSourceIndirectIndexEXT samplerHeapArrayStride(@NativeType("uint32_t") int value) Sets the specified value to thesamplerHeapArrayStridefield. -
set
public VkDescriptorMappingSourceIndirectIndexEXT set(int heapOffset, int pushOffset, int addressOffset, int heapIndexStride, int heapArrayStride, @Nullable VkSamplerCreateInfo pEmbeddedSampler, boolean useCombinedImageSamplerIndex, int samplerHeapOffset, int samplerPushOffset, int samplerAddressOffset, int samplerHeapIndexStride, int samplerHeapArrayStride) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated withBufferUtils. -
create
Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkDescriptorMappingSourceIndirectIndexEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDescriptorMappingSourceIndirectIndexEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDescriptorMappingSourceIndirectIndexEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkDescriptorMappingSourceIndirectIndexEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkDescriptorMappingSourceIndirectIndexEXT.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(). -
nheapArrayStride
public static int nheapArrayStride(long struct) Unsafe version ofheapArrayStride(). -
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(). -
nsamplerHeapArrayStride
public static int nsamplerHeapArrayStride(long struct) Unsafe version ofsamplerHeapArrayStride(). -
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. -
nheapArrayStride
public static void nheapArrayStride(long struct, int value) Unsafe version ofheapArrayStride. -
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. -
nsamplerHeapArrayStride
public static void nsamplerHeapArrayStride(long struct, int value) Unsafe version ofsamplerHeapArrayStride.
-