Class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
- All Implemented Interfaces:
Addressable
Represents VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.
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 StructLayoutThe struct layout ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofstorageTexelBufferOffsetAlignmentBytes.static final MemoryLayoutThe memory layout ofstorageTexelBufferOffsetSingleTexelAlignment.static final MemoryLayoutThe memory layout ofsType.static final MemoryLayoutThe memory layout ofuniformTexelBufferOffsetAlignmentBytes.static final MemoryLayoutThe memory layout ofuniformTexelBufferOffsetSingleTexelAlignment.static final longThe byte offset ofpNext.static final longThe byte offset ofstorageTexelBufferOffsetAlignmentBytes.static final longThe byte offset ofstorageTexelBufferOffsetSingleTexelAlignment.static final longThe byte offset ofsType.static final longThe byte offset ofuniformTexelBufferOffsetAlignmentBytes.static final longThe byte offset ofuniformTexelBufferOffsetSingleTexelAlignment.static final VarHandlestatic final VarHandleTheVarHandleofstorageTexelBufferOffsetAlignmentBytesof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofstorageTexelBufferOffsetSingleTexelAlignmentof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleofuniformTexelBufferOffsetAlignmentBytesof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofuniformTexelBufferOffsetSingleTexelAlignmentof type(MemorySegment base, long baseOffset, long index)MemorySegment. -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith 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) VisitsVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTbuffer at the given index.Copies from the given source.of(MemorySegment segment) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment.ofNative(MemorySegment segment) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment.pNext()ReturnspNext.pNext(MemorySegment value) SetspNextwith the given value.static MemorySegmentpNext(MemorySegment segment, long index) ReturnspNextat the given index.static voidpNext(MemorySegment segment, long index, MemorySegment value) SetspNextwith the given value at the given index.pNextAt(long index) ReturnspNextat the given index.pNextAt(long index, MemorySegment value) SetspNextwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.longReturnsstorageTexelBufferOffsetAlignmentBytes.storageTexelBufferOffsetAlignmentBytes(long value) SetsstorageTexelBufferOffsetAlignmentByteswith the given value.static longstorageTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index) ReturnsstorageTexelBufferOffsetAlignmentBytesat the given index.static voidstorageTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value) SetsstorageTexelBufferOffsetAlignmentByteswith the given value at the given index.longstorageTexelBufferOffsetAlignmentBytesAt(long index) ReturnsstorageTexelBufferOffsetAlignmentBytesat the given index.storageTexelBufferOffsetAlignmentBytesAt(long index, long value) SetsstorageTexelBufferOffsetAlignmentByteswith the given value at the given index.intReturnsstorageTexelBufferOffsetSingleTexelAlignment.storageTexelBufferOffsetSingleTexelAlignment(int value) SetsstorageTexelBufferOffsetSingleTexelAlignmentwith the given value.static intstorageTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index) ReturnsstorageTexelBufferOffsetSingleTexelAlignmentat the given index.static voidstorageTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignmentwith the given value at the given index.intstorageTexelBufferOffsetSingleTexelAlignmentAt(long index) ReturnsstorageTexelBufferOffsetSingleTexelAlignmentat the given index.storageTexelBufferOffsetSingleTexelAlignmentAt(long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignmentwith the given value at the given index.intsType()ReturnssType.sType(int value) SetssTypewith the given value.static intsType(MemorySegment segment, long index) ReturnssTypeat the given index.static voidsType(MemorySegment segment, long index, int value) SetssTypewith the given value at the given index.intsTypeAt(long index) ReturnssTypeat the given index.sTypeAt(long index, int value) SetssTypewith the given value at the given index.longReturnsuniformTexelBufferOffsetAlignmentBytes.uniformTexelBufferOffsetAlignmentBytes(long value) SetsuniformTexelBufferOffsetAlignmentByteswith the given value.static longuniformTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index) ReturnsuniformTexelBufferOffsetAlignmentBytesat the given index.static voiduniformTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value) SetsuniformTexelBufferOffsetAlignmentByteswith the given value at the given index.longuniformTexelBufferOffsetAlignmentBytesAt(long index) ReturnsuniformTexelBufferOffsetAlignmentBytesat the given index.uniformTexelBufferOffsetAlignmentBytesAt(long index, long value) SetsuniformTexelBufferOffsetAlignmentByteswith the given value at the given index.intReturnsuniformTexelBufferOffsetSingleTexelAlignment.uniformTexelBufferOffsetSingleTexelAlignment(int value) SetsuniformTexelBufferOffsetSingleTexelAlignmentwith the given value.static intuniformTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index) ReturnsuniformTexelBufferOffsetSingleTexelAlignmentat the given index.static voiduniformTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignmentwith the given value at the given index.intuniformTexelBufferOffsetSingleTexelAlignmentAt(long index) ReturnsuniformTexelBufferOffsetSingleTexelAlignmentat the given index.uniformTexelBufferOffsetSingleTexelAlignmentAt(long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignmentwith the given value at the given index.Methods inherited from class 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
CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT ofNative(MemorySegment segment, long count) Creates
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
-
alloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTwith 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
ReturnssTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sTypeat the given index
-
sType
public int sType()ReturnssType.- Returns:
sType
-
sType
SetssTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sType
SetssTypewith the given value.- Parameters:
value- the value- Returns:
this
-
pNext
ReturnspNextat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pNextat the given index
-
pNext
-
pNext
SetspNextwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pNext
SetspNextwith the given value.- Parameters:
value- the value- Returns:
this
-
storageTexelBufferOffsetAlignmentBytes
ReturnsstorageTexelBufferOffsetAlignmentBytesat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
storageTexelBufferOffsetAlignmentBytesat the given index
-
storageTexelBufferOffsetAlignmentBytes
public long storageTexelBufferOffsetAlignmentBytes()ReturnsstorageTexelBufferOffsetAlignmentBytes.- Returns:
storageTexelBufferOffsetAlignmentBytes
-
storageTexelBufferOffsetAlignmentBytes
public static void storageTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value) SetsstorageTexelBufferOffsetAlignmentByteswith 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) SetsstorageTexelBufferOffsetAlignmentByteswith the given value.- Parameters:
value- the value- Returns:
this
-
storageTexelBufferOffsetSingleTexelAlignment
ReturnsstorageTexelBufferOffsetSingleTexelAlignmentat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
storageTexelBufferOffsetSingleTexelAlignmentat the given index
-
storageTexelBufferOffsetSingleTexelAlignment
public int storageTexelBufferOffsetSingleTexelAlignment()ReturnsstorageTexelBufferOffsetSingleTexelAlignment.- Returns:
storageTexelBufferOffsetSingleTexelAlignment
-
storageTexelBufferOffsetSingleTexelAlignment
public static void storageTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignmentwith 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) SetsstorageTexelBufferOffsetSingleTexelAlignmentwith the given value.- Parameters:
value- the value- Returns:
this
-
uniformTexelBufferOffsetAlignmentBytes
ReturnsuniformTexelBufferOffsetAlignmentBytesat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
uniformTexelBufferOffsetAlignmentBytesat the given index
-
uniformTexelBufferOffsetAlignmentBytes
public long uniformTexelBufferOffsetAlignmentBytes()ReturnsuniformTexelBufferOffsetAlignmentBytes.- Returns:
uniformTexelBufferOffsetAlignmentBytes
-
uniformTexelBufferOffsetAlignmentBytes
public static void uniformTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value) SetsuniformTexelBufferOffsetAlignmentByteswith 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) SetsuniformTexelBufferOffsetAlignmentByteswith the given value.- Parameters:
value- the value- Returns:
this
-
uniformTexelBufferOffsetSingleTexelAlignment
ReturnsuniformTexelBufferOffsetSingleTexelAlignmentat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
uniformTexelBufferOffsetSingleTexelAlignmentat the given index
-
uniformTexelBufferOffsetSingleTexelAlignment
public int uniformTexelBufferOffsetSingleTexelAlignment()ReturnsuniformTexelBufferOffsetSingleTexelAlignment.- Returns:
uniformTexelBufferOffsetSingleTexelAlignment
-
uniformTexelBufferOffsetSingleTexelAlignment
public static void uniformTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignmentwith 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) SetsuniformTexelBufferOffsetSingleTexelAlignmentwith 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) VisitsVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTbuffer 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) ReturnssTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sTypeat the given index
-
sTypeAt
SetssTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pNextAt
ReturnspNextat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pNextat the given index
-
pNextAt
SetspNextwith 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) ReturnsstorageTexelBufferOffsetAlignmentBytesat the given index.- Parameters:
index- the index of the struct buffer- Returns:
storageTexelBufferOffsetAlignmentBytesat the given index
-
storageTexelBufferOffsetAlignmentBytesAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetAlignmentBytesAt(long index, long value) SetsstorageTexelBufferOffsetAlignmentByteswith 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) ReturnsstorageTexelBufferOffsetSingleTexelAlignmentat the given index.- Parameters:
index- the index of the struct buffer- Returns:
storageTexelBufferOffsetSingleTexelAlignmentat the given index
-
storageTexelBufferOffsetSingleTexelAlignmentAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetSingleTexelAlignmentAt(long index, int value) SetsstorageTexelBufferOffsetSingleTexelAlignmentwith 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) ReturnsuniformTexelBufferOffsetAlignmentBytesat the given index.- Parameters:
index- the index of the struct buffer- Returns:
uniformTexelBufferOffsetAlignmentBytesat the given index
-
uniformTexelBufferOffsetAlignmentBytesAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetAlignmentBytesAt(long index, long value) SetsuniformTexelBufferOffsetAlignmentByteswith 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) ReturnsuniformTexelBufferOffsetSingleTexelAlignmentat the given index.- Parameters:
index- the index of the struct buffer- Returns:
uniformTexelBufferOffsetSingleTexelAlignmentat the given index
-
uniformTexelBufferOffsetSingleTexelAlignmentAt
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetSingleTexelAlignmentAt(long index, int value) SetsuniformTexelBufferOffsetSingleTexelAlignmentwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-