Class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
- All Implemented Interfaces:
Addressable
Layout
struct VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT {
(int) VkStructureType sType;
void* pNext;
(uint64_t) VkDeviceSize storageTexelBufferOffsetAlignmentBytes;
(uint32_t) VkBool32 storageTexelBufferOffsetSingleTexelAlignment;
(uint64_t) VkDeviceSize uniformTexelBufferOffsetAlignmentBytes;
(uint32_t) VkBool32 uniformTexelBufferOffsetSingleTexelAlignment;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofstorageTexelBufferOffsetAlignmentBytes
.static final MemoryLayout
The memory layout ofstorageTexelBufferOffsetSingleTexelAlignment
.static final MemoryLayout
The memory layout ofsType
.static final MemoryLayout
The memory layout ofuniformTexelBufferOffsetAlignmentBytes
.static final MemoryLayout
The memory layout ofuniformTexelBufferOffsetSingleTexelAlignment
.static final long
The byte offset ofpNext
.static final long
The byte offset ofstorageTexelBufferOffsetAlignmentBytes
.static final long
The byte offset ofstorageTexelBufferOffsetSingleTexelAlignment
.static final long
The byte offset ofsType
.static final long
The byte offset ofuniformTexelBufferOffsetAlignmentBytes
.static final long
The byte offset ofuniformTexelBufferOffsetSingleTexelAlignment
.static final VarHandle
static final VarHandle
TheVarHandle
ofstorageTexelBufferOffsetAlignmentBytes
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofstorageTexelBufferOffsetSingleTexelAlignment
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofuniformTexelBufferOffsetAlignmentBytes
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofuniformTexelBufferOffsetSingleTexelAlignment
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
.at
(long index, Consumer<VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT> func) VisitsVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
buffer at the given index.Copies from the given source.of
(MemorySegment segment) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment.ofNative
(MemorySegment segment) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.reinterpret
(long count) Reinterprets this buffer with the given count.long
ReturnsstorageTexelBufferOffsetAlignmentBytes
.storageTexelBufferOffsetAlignmentBytes
(long value) SetsstorageTexelBufferOffsetAlignmentBytes
with the given value.static long
storageTexelBufferOffsetAlignmentBytes
(MemorySegment segment, long index) ReturnsstorageTexelBufferOffsetAlignmentBytes
at the given index.static void
storageTexelBufferOffsetAlignmentBytes
(MemorySegment segment, long index, long value) SetsstorageTexelBufferOffsetAlignmentBytes
with the given value at the given index.long
storageTexelBufferOffsetAlignmentBytesAt
(long index) ReturnsstorageTexelBufferOffsetAlignmentBytes
at the given index.storageTexelBufferOffsetAlignmentBytesAt
(long index, long value) SetsstorageTexelBufferOffsetAlignmentBytes
with the given value at the given index.int
ReturnsstorageTexelBufferOffsetSingleTexelAlignment
.storageTexelBufferOffsetSingleTexelAlignment
(int value) SetsstorageTexelBufferOffsetSingleTexelAlignment
with the given value.static int
storageTexelBufferOffsetSingleTexelAlignment
(MemorySegment segment, long index) ReturnsstorageTexelBufferOffsetSingleTexelAlignment
at the given index.static void
storageTexelBufferOffsetSingleTexelAlignment
(MemorySegment segment, long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.int
storageTexelBufferOffsetSingleTexelAlignmentAt
(long index) ReturnsstorageTexelBufferOffsetSingleTexelAlignment
at the given index.storageTexelBufferOffsetSingleTexelAlignmentAt
(long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.long
ReturnsuniformTexelBufferOffsetAlignmentBytes
.uniformTexelBufferOffsetAlignmentBytes
(long value) SetsuniformTexelBufferOffsetAlignmentBytes
with the given value.static long
uniformTexelBufferOffsetAlignmentBytes
(MemorySegment segment, long index) ReturnsuniformTexelBufferOffsetAlignmentBytes
at the given index.static void
uniformTexelBufferOffsetAlignmentBytes
(MemorySegment segment, long index, long value) SetsuniformTexelBufferOffsetAlignmentBytes
with the given value at the given index.long
uniformTexelBufferOffsetAlignmentBytesAt
(long index) ReturnsuniformTexelBufferOffsetAlignmentBytes
at the given index.uniformTexelBufferOffsetAlignmentBytesAt
(long index, long value) SetsuniformTexelBufferOffsetAlignmentBytes
with the given value at the given index.int
ReturnsuniformTexelBufferOffsetSingleTexelAlignment
.uniformTexelBufferOffsetSingleTexelAlignment
(int value) SetsuniformTexelBufferOffsetSingleTexelAlignment
with the given value.static int
uniformTexelBufferOffsetSingleTexelAlignment
(MemorySegment segment, long index) ReturnsuniformTexelBufferOffsetSingleTexelAlignment
at the given index.static void
uniformTexelBufferOffsetSingleTexelAlignment
(MemorySegment segment, long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.int
uniformTexelBufferOffsetSingleTexelAlignmentAt
(long index) ReturnsuniformTexelBufferOffsetSingleTexelAlignment
at the given index.uniformTexelBufferOffsetSingleTexelAlignmentAt
(long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType
. -
LAYOUT_sType
The memory layout ofsType
. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext
. -
LAYOUT_pNext
The memory layout ofpNext
. -
VH_pNext
-
OFFSET_storageTexelBufferOffsetAlignmentBytes
public static final long OFFSET_storageTexelBufferOffsetAlignmentBytesThe byte offset ofstorageTexelBufferOffsetAlignmentBytes
. -
LAYOUT_storageTexelBufferOffsetAlignmentBytes
The memory layout ofstorageTexelBufferOffsetAlignmentBytes
. -
VH_storageTexelBufferOffsetAlignmentBytes
-
OFFSET_storageTexelBufferOffsetSingleTexelAlignment
public static final long OFFSET_storageTexelBufferOffsetSingleTexelAlignmentThe byte offset ofstorageTexelBufferOffsetSingleTexelAlignment
. -
LAYOUT_storageTexelBufferOffsetSingleTexelAlignment
The memory layout ofstorageTexelBufferOffsetSingleTexelAlignment
. -
VH_storageTexelBufferOffsetSingleTexelAlignment
-
OFFSET_uniformTexelBufferOffsetAlignmentBytes
public static final long OFFSET_uniformTexelBufferOffsetAlignmentBytesThe byte offset ofuniformTexelBufferOffsetAlignmentBytes
. -
LAYOUT_uniformTexelBufferOffsetAlignmentBytes
The memory layout ofuniformTexelBufferOffsetAlignmentBytes
. -
VH_uniformTexelBufferOffsetAlignmentBytes
-
OFFSET_uniformTexelBufferOffsetSingleTexelAlignment
public static final long OFFSET_uniformTexelBufferOffsetSingleTexelAlignmentThe byte offset ofuniformTexelBufferOffsetSingleTexelAlignment
. -
LAYOUT_uniformTexelBufferOffsetSingleTexelAlignment
The memory layout ofuniformTexelBufferOffsetSingleTexelAlignment
. -
VH_uniformTexelBufferOffsetSingleTexelAlignment
-
-
Constructor Details
-
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT ofNative(MemorySegment segment, long count) Creates
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
-
alloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
-
copyFrom
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT copyFrom(VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT src) Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count
- the new count- Returns:
- the reinterpreted buffer
-
sType
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
storageTexelBufferOffsetAlignmentBytes
ReturnsstorageTexelBufferOffsetAlignmentBytes
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
storageTexelBufferOffsetAlignmentBytes
at the given index
-
storageTexelBufferOffsetAlignmentBytes
public long storageTexelBufferOffsetAlignmentBytes()ReturnsstorageTexelBufferOffsetAlignmentBytes
.- Returns:
storageTexelBufferOffsetAlignmentBytes
-
storageTexelBufferOffsetAlignmentBytes
public static void storageTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value) SetsstorageTexelBufferOffsetAlignmentBytes
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
storageTexelBufferOffsetAlignmentBytes
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetAlignmentBytes(long value) SetsstorageTexelBufferOffsetAlignmentBytes
with the given value.- Parameters:
value
- the value- Returns:
this
-
storageTexelBufferOffsetSingleTexelAlignment
ReturnsstorageTexelBufferOffsetSingleTexelAlignment
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
storageTexelBufferOffsetSingleTexelAlignment
at the given index
-
storageTexelBufferOffsetSingleTexelAlignment
public int storageTexelBufferOffsetSingleTexelAlignment()ReturnsstorageTexelBufferOffsetSingleTexelAlignment
.- Returns:
storageTexelBufferOffsetSingleTexelAlignment
-
storageTexelBufferOffsetSingleTexelAlignment
public static void storageTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
storageTexelBufferOffsetSingleTexelAlignment
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetSingleTexelAlignment(int value) SetsstorageTexelBufferOffsetSingleTexelAlignment
with the given value.- Parameters:
value
- the value- Returns:
this
-
uniformTexelBufferOffsetAlignmentBytes
ReturnsuniformTexelBufferOffsetAlignmentBytes
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
uniformTexelBufferOffsetAlignmentBytes
at the given index
-
uniformTexelBufferOffsetAlignmentBytes
public long uniformTexelBufferOffsetAlignmentBytes()ReturnsuniformTexelBufferOffsetAlignmentBytes
.- Returns:
uniformTexelBufferOffsetAlignmentBytes
-
uniformTexelBufferOffsetAlignmentBytes
public static void uniformTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value) SetsuniformTexelBufferOffsetAlignmentBytes
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
uniformTexelBufferOffsetAlignmentBytes
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetAlignmentBytes(long value) SetsuniformTexelBufferOffsetAlignmentBytes
with the given value.- Parameters:
value
- the value- Returns:
this
-
uniformTexelBufferOffsetSingleTexelAlignment
ReturnsuniformTexelBufferOffsetSingleTexelAlignment
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
uniformTexelBufferOffsetSingleTexelAlignment
at the given index
-
uniformTexelBufferOffsetSingleTexelAlignment
public int uniformTexelBufferOffsetSingleTexelAlignment()ReturnsuniformTexelBufferOffsetSingleTexelAlignment
.- Returns:
uniformTexelBufferOffsetSingleTexelAlignment
-
uniformTexelBufferOffsetSingleTexelAlignment
public static void uniformTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
uniformTexelBufferOffsetSingleTexelAlignment
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetSingleTexelAlignment(int value) SetsuniformTexelBufferOffsetSingleTexelAlignment
with the given value.- Parameters:
value
- the value- Returns:
this
-
asSlice
Creates a slice ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
-
asSlice
Creates a slice ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
-
at
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT at(long index, Consumer<VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT> func) VisitsVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
sTypeAt
public int sTypeAt(long index) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
storageTexelBufferOffsetAlignmentBytesAt
public long storageTexelBufferOffsetAlignmentBytesAt(long index) ReturnsstorageTexelBufferOffsetAlignmentBytes
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
storageTexelBufferOffsetAlignmentBytes
at the given index
-
storageTexelBufferOffsetAlignmentBytesAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetAlignmentBytesAt(long index, long value) SetsstorageTexelBufferOffsetAlignmentBytes
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
storageTexelBufferOffsetSingleTexelAlignmentAt
public int storageTexelBufferOffsetSingleTexelAlignmentAt(long index) ReturnsstorageTexelBufferOffsetSingleTexelAlignment
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
storageTexelBufferOffsetSingleTexelAlignment
at the given index
-
storageTexelBufferOffsetSingleTexelAlignmentAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetSingleTexelAlignmentAt(long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
uniformTexelBufferOffsetAlignmentBytesAt
public long uniformTexelBufferOffsetAlignmentBytesAt(long index) ReturnsuniformTexelBufferOffsetAlignmentBytes
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
uniformTexelBufferOffsetAlignmentBytes
at the given index
-
uniformTexelBufferOffsetAlignmentBytesAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetAlignmentBytesAt(long index, long value) SetsuniformTexelBufferOffsetAlignmentBytes
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
uniformTexelBufferOffsetSingleTexelAlignmentAt
public int uniformTexelBufferOffsetSingleTexelAlignmentAt(long index) ReturnsuniformTexelBufferOffsetSingleTexelAlignment
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
uniformTexelBufferOffsetSingleTexelAlignment
at the given index
-
uniformTexelBufferOffsetSingleTexelAlignmentAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetSingleTexelAlignmentAt(long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignment
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-