Class VkPhysicalDeviceShaderObjectPropertiesEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPhysicalDeviceShaderObjectPropertiesEXT
- All Implemented Interfaces:
Addressable
Represents VkPhysicalDeviceShaderObjectPropertiesEXT.
Layout
struct VkPhysicalDeviceShaderObjectPropertiesEXT {
(int) VkStructureType sType;
void* pNext;
uint8_t shaderBinaryUUID[16];
uint32_t shaderBinaryVersion;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkPhysicalDeviceShaderObjectPropertiesEXT.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofshaderBinaryUUID.static final MemoryLayoutThe memory layout ofshaderBinaryVersion.static final MemoryLayoutThe memory layout ofsType.static final longThe byte offset ofpNext.static final longThe byte offset ofshaderBinaryUUID.static final longThe byte offset ofshaderBinaryVersion.static final longThe byte offset ofsType.static final VarHandlestatic final VarHandleTheVarHandleofshaderBinaryUUIDof type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment.static final VarHandleTheVarHandleofshaderBinaryVersionof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceShaderObjectPropertiesEXT(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkPhysicalDeviceShaderObjectPropertiesEXT.asSlice(long index, long count) Creates a slice ofVkPhysicalDeviceShaderObjectPropertiesEXT.at(long index, Consumer<VkPhysicalDeviceShaderObjectPropertiesEXT> func) VisitsVkPhysicalDeviceShaderObjectPropertiesEXTbuffer at the given index.Copies from the given source.of(MemorySegment segment) CreatesVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment.ofNative(MemorySegment segment) CreatesVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkPhysicalDeviceShaderObjectPropertiesEXTwith 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.ReturnsshaderBinaryUUID.byteshaderBinaryUUID(long index0) ReturnsshaderBinaryUUID.shaderBinaryUUID(long index0, byte value) SetsshaderBinaryUUIDwith the given value.shaderBinaryUUID(MemorySegment value) SetsshaderBinaryUUIDwith the given value.static MemorySegmentshaderBinaryUUID(MemorySegment segment, long index) ReturnsshaderBinaryUUIDat the given index.static byteshaderBinaryUUID(MemorySegment segment, long index, long index0) ReturnsshaderBinaryUUIDat the given index.static voidshaderBinaryUUID(MemorySegment segment, long index, long index0, byte value) SetsshaderBinaryUUIDwith the given value at the given index.static voidshaderBinaryUUID(MemorySegment segment, long index, MemorySegment value) SetsshaderBinaryUUIDwith the given value at the given index.shaderBinaryUUIDAt(long index) ReturnsshaderBinaryUUIDat the given index.byteshaderBinaryUUIDAt(long index, long index0) ReturnsshaderBinaryUUIDat the given index.shaderBinaryUUIDAt(long index, long index0, byte value) SetsshaderBinaryUUIDwith the given value at the given index.shaderBinaryUUIDAt(long index, MemorySegment value) SetsshaderBinaryUUIDwith the given value at the given index.intReturnsshaderBinaryVersion.shaderBinaryVersion(int value) SetsshaderBinaryVersionwith the given value.static intshaderBinaryVersion(MemorySegment segment, long index) ReturnsshaderBinaryVersionat the given index.static voidshaderBinaryVersion(MemorySegment segment, long index, int value) SetsshaderBinaryVersionwith the given value at the given index.intshaderBinaryVersionAt(long index) ReturnsshaderBinaryVersionat the given index.shaderBinaryVersionAt(long index, int value) SetsshaderBinaryVersionwith 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.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkPhysicalDeviceShaderObjectPropertiesEXT. -
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_shaderBinaryUUID
public static final long OFFSET_shaderBinaryUUIDThe byte offset ofshaderBinaryUUID. -
LAYOUT_shaderBinaryUUID
The memory layout ofshaderBinaryUUID. -
VH_shaderBinaryUUID
-
OFFSET_shaderBinaryVersion
public static final long OFFSET_shaderBinaryVersionThe byte offset ofshaderBinaryVersion. -
LAYOUT_shaderBinaryVersion
The memory layout ofshaderBinaryVersion. -
VH_shaderBinaryVersion
-
-
Constructor Details
-
VkPhysicalDeviceShaderObjectPropertiesEXT
CreatesVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkPhysicalDeviceShaderObjectPropertiesEXTwith 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 aVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkPhysicalDeviceShaderObjectPropertiesEXT
-
alloc
public static VkPhysicalDeviceShaderObjectPropertiesEXT alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceShaderObjectPropertiesEXTwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkPhysicalDeviceShaderObjectPropertiesEXT
-
copyFrom
public VkPhysicalDeviceShaderObjectPropertiesEXT copyFrom(VkPhysicalDeviceShaderObjectPropertiesEXT 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
-
shaderBinaryUUID
ReturnsshaderBinaryUUIDat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
shaderBinaryUUIDat the given index
-
shaderBinaryUUID
ReturnsshaderBinaryUUIDat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct bufferindex0- the Index 0 of the array- Returns:
shaderBinaryUUIDat the given index
-
shaderBinaryUUID
-
shaderBinaryUUID
public byte shaderBinaryUUID(long index0) ReturnsshaderBinaryUUID.- Parameters:
index0- the Index 0 of the array- Returns:
shaderBinaryUUID
-
shaderBinaryUUID
SetsshaderBinaryUUIDwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
shaderBinaryUUID
SetsshaderBinaryUUIDwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct bufferindex0- the Index 0 of the arrayvalue- the value
-
shaderBinaryUUID
SetsshaderBinaryUUIDwith the given value.- Parameters:
value- the value- Returns:
this
-
shaderBinaryUUID
SetsshaderBinaryUUIDwith the given value.- Parameters:
index0- the Index 0 of the arrayvalue- the value- Returns:
this
-
shaderBinaryVersion
ReturnsshaderBinaryVersionat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
shaderBinaryVersionat the given index
-
shaderBinaryVersion
public int shaderBinaryVersion()ReturnsshaderBinaryVersion.- Returns:
shaderBinaryVersion
-
shaderBinaryVersion
SetsshaderBinaryVersionwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
shaderBinaryVersion
SetsshaderBinaryVersionwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkPhysicalDeviceShaderObjectPropertiesEXT.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceShaderObjectPropertiesEXT
-
asSlice
Creates a slice ofVkPhysicalDeviceShaderObjectPropertiesEXT.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkPhysicalDeviceShaderObjectPropertiesEXT
-
at
public VkPhysicalDeviceShaderObjectPropertiesEXT at(long index, Consumer<VkPhysicalDeviceShaderObjectPropertiesEXT> func) VisitsVkPhysicalDeviceShaderObjectPropertiesEXTbuffer 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
-
shaderBinaryUUIDAt
ReturnsshaderBinaryUUIDat the given index.- Parameters:
index- the index of the struct buffer- Returns:
shaderBinaryUUIDat the given index
-
shaderBinaryUUIDAt
public byte shaderBinaryUUIDAt(long index, long index0) ReturnsshaderBinaryUUIDat the given index.- Parameters:
index- the index of the struct bufferindex0- the Index 0 of the array- Returns:
shaderBinaryUUIDat the given index
-
shaderBinaryUUIDAt
public VkPhysicalDeviceShaderObjectPropertiesEXT shaderBinaryUUIDAt(long index, MemorySegment value) SetsshaderBinaryUUIDwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
shaderBinaryUUIDAt
public VkPhysicalDeviceShaderObjectPropertiesEXT shaderBinaryUUIDAt(long index, long index0, byte value) SetsshaderBinaryUUIDwith the given value at the given index.- Parameters:
index- the index of the struct bufferindex0- the Index 0 of the arrayvalue- the value- Returns:
this
-
shaderBinaryVersionAt
public int shaderBinaryVersionAt(long index) ReturnsshaderBinaryVersionat the given index.- Parameters:
index- the index of the struct buffer- Returns:
shaderBinaryVersionat the given index
-
shaderBinaryVersionAt
SetsshaderBinaryVersionwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-