Class VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
- All Implemented Interfaces:
Addressable
Layout
struct VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR {
(int) VkStructureType sType;
void* pNext;
(uint32_t) VkBool32 unifiedImageLayouts;
(uint32_t) VkBool32 unifiedImageLayoutsVideo;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofsType
.static final MemoryLayout
The memory layout ofunifiedImageLayouts
.static final MemoryLayout
The memory layout ofunifiedImageLayoutsVideo
.static final long
The byte offset ofpNext
.static final long
The byte offset ofsType
.static final long
The byte offset ofunifiedImageLayouts
.static final long
The byte offset ofunifiedImageLayoutsVideo
.static final VarHandle
static final VarHandle
static final VarHandle
TheVarHandle
ofunifiedImageLayouts
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofunifiedImageLayoutsVideo
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
.at
(long index, Consumer<VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR> func) VisitsVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
buffer at the given index.Copies from the given source.of
(MemorySegment segment) CreatesVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment.ofNative
(MemorySegment segment) CreatesVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
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.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.int
ReturnsunifiedImageLayouts
.unifiedImageLayouts
(int value) SetsunifiedImageLayouts
with the given value.static int
unifiedImageLayouts
(MemorySegment segment, long index) ReturnsunifiedImageLayouts
at the given index.static void
unifiedImageLayouts
(MemorySegment segment, long index, int value) SetsunifiedImageLayouts
with the given value at the given index.int
unifiedImageLayoutsAt
(long index) ReturnsunifiedImageLayouts
at the given index.unifiedImageLayoutsAt
(long index, int value) SetsunifiedImageLayouts
with the given value at the given index.int
ReturnsunifiedImageLayoutsVideo
.unifiedImageLayoutsVideo
(int value) SetsunifiedImageLayoutsVideo
with the given value.static int
unifiedImageLayoutsVideo
(MemorySegment segment, long index) ReturnsunifiedImageLayoutsVideo
at the given index.static void
unifiedImageLayoutsVideo
(MemorySegment segment, long index, int value) SetsunifiedImageLayoutsVideo
with the given value at the given index.int
unifiedImageLayoutsVideoAt
(long index) ReturnsunifiedImageLayoutsVideo
at the given index.unifiedImageLayoutsVideoAt
(long index, int value) SetsunifiedImageLayoutsVideo
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 ofVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
. -
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_unifiedImageLayouts
public static final long OFFSET_unifiedImageLayoutsThe byte offset ofunifiedImageLayouts
. -
LAYOUT_unifiedImageLayouts
The memory layout ofunifiedImageLayouts
. -
VH_unifiedImageLayouts
-
OFFSET_unifiedImageLayoutsVideo
public static final long OFFSET_unifiedImageLayoutsVideoThe byte offset ofunifiedImageLayoutsVideo
. -
LAYOUT_unifiedImageLayoutsVideo
The memory layout ofunifiedImageLayoutsVideo
. -
VH_unifiedImageLayoutsVideo
-
-
Constructor Details
-
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
CreatesVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
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 VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR ofNative(MemorySegment segment, long count) Creates
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
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 aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
alloc
public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
copyFrom
public VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR copyFrom(VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR 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
-
unifiedImageLayouts
ReturnsunifiedImageLayouts
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
unifiedImageLayouts
at the given index
-
unifiedImageLayouts
public int unifiedImageLayouts()ReturnsunifiedImageLayouts
.- Returns:
unifiedImageLayouts
-
unifiedImageLayouts
SetsunifiedImageLayouts
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
unifiedImageLayouts
SetsunifiedImageLayouts
with the given value.- Parameters:
value
- the value- Returns:
this
-
unifiedImageLayoutsVideo
ReturnsunifiedImageLayoutsVideo
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
unifiedImageLayoutsVideo
at the given index
-
unifiedImageLayoutsVideo
public int unifiedImageLayoutsVideo()ReturnsunifiedImageLayoutsVideo
.- Returns:
unifiedImageLayoutsVideo
-
unifiedImageLayoutsVideo
SetsunifiedImageLayoutsVideo
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
unifiedImageLayoutsVideo
SetsunifiedImageLayoutsVideo
with the given value.- Parameters:
value
- the value- Returns:
this
-
asSlice
Creates a slice ofVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
asSlice
Creates a slice ofVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
at
public VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR at(long index, Consumer<VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR> func) VisitsVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
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
-
unifiedImageLayoutsAt
public int unifiedImageLayoutsAt(long index) ReturnsunifiedImageLayouts
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
unifiedImageLayouts
at the given index
-
unifiedImageLayoutsAt
SetsunifiedImageLayouts
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
unifiedImageLayoutsVideoAt
public int unifiedImageLayoutsVideoAt(long index) ReturnsunifiedImageLayoutsVideo
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
unifiedImageLayoutsVideo
at the given index
-
unifiedImageLayoutsVideoAt
public VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR unifiedImageLayoutsVideoAt(long index, int value) SetsunifiedImageLayoutsVideo
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-