Class VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR.Buffer
public sealed class VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
extends GroupType
permits VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR.Buffer
Layout
struct VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR {
(int) VkStructureType sType;
void* pNext;
(uint32_t) VkBool32 unifiedImageLayouts;
(uint32_t) VkBool32 unifiedImageLayoutsVideo;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A buffer ofVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
. -
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
ConstructorsConstructorDescriptionCreatesVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
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.allocInit
(SegmentAllocator allocator, int sType) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int unifiedImageLayouts) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int unifiedImageLayouts, int unifiedImageLayoutsVideo) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.asBuffer()
Converts this instance to a buffer.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.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
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
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.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 segment
-
-
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.Buffer 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.Buffer 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
-
allocInit
public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int unifiedImageLayouts, int unifiedImageLayoutsVideo) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
unifiedImageLayouts
-unifiedImageLayouts
unifiedImageLayoutsVideo
-unifiedImageLayoutsVideo
- Returns:
- the allocated
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
allocInit
public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int unifiedImageLayouts) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
unifiedImageLayouts
-unifiedImageLayouts
- Returns:
- the allocated
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
allocInit
public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
- Returns:
- the allocated
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
allocInit
public static VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR allocInit(SegmentAllocator allocator, int sType) Allocates aVkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
- Returns:
- the allocated
VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
-
copyFrom
public VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR copyFrom(VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR src) Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the 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
-