Class VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
- All Implemented Interfaces:
Addressable
Represents VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.
Layout
struct VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT {
(int) VkStructureType sType;
void* pNext;
(uint32_t) VkBool32 primitivesGeneratedQuery;
(uint32_t) VkBool32 primitivesGeneratedQueryWithRasterizerDiscard;
(uint32_t) VkBool32 primitivesGeneratedQueryWithNonZeroStreams;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofprimitivesGeneratedQuery.static final MemoryLayoutThe memory layout ofprimitivesGeneratedQueryWithNonZeroStreams.static final MemoryLayoutThe memory layout ofprimitivesGeneratedQueryWithRasterizerDiscard.static final MemoryLayoutThe memory layout ofsType.static final longThe byte offset ofpNext.static final longThe byte offset ofprimitivesGeneratedQuery.static final longThe byte offset ofprimitivesGeneratedQueryWithNonZeroStreams.static final longThe byte offset ofprimitivesGeneratedQueryWithRasterizerDiscard.static final longThe byte offset ofsType.static final VarHandlestatic final VarHandleTheVarHandleofprimitivesGeneratedQueryof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofprimitivesGeneratedQueryWithNonZeroStreamsof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofprimitivesGeneratedQueryWithRasterizerDiscardof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT(MemorySegment segment, long elementCount) CreatesVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.asSlice(long index, long count) Creates a slice ofVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.at(long index, Consumer<VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT> func) VisitsVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTbuffer at the given index.Copies from the given source.of(MemorySegment segment) CreatesVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment.ofNative(MemorySegment segment) CreatesVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith 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.intReturnsprimitivesGeneratedQuery.primitivesGeneratedQuery(int value) SetsprimitivesGeneratedQuerywith the given value.static intprimitivesGeneratedQuery(MemorySegment segment, long index) ReturnsprimitivesGeneratedQueryat the given index.static voidprimitivesGeneratedQuery(MemorySegment segment, long index, int value) SetsprimitivesGeneratedQuerywith the given value at the given index.intprimitivesGeneratedQueryAt(long index) ReturnsprimitivesGeneratedQueryat the given index.primitivesGeneratedQueryAt(long index, int value) SetsprimitivesGeneratedQuerywith the given value at the given index.intReturnsprimitivesGeneratedQueryWithNonZeroStreams.primitivesGeneratedQueryWithNonZeroStreams(int value) SetsprimitivesGeneratedQueryWithNonZeroStreamswith the given value.static intprimitivesGeneratedQueryWithNonZeroStreams(MemorySegment segment, long index) ReturnsprimitivesGeneratedQueryWithNonZeroStreamsat the given index.static voidprimitivesGeneratedQueryWithNonZeroStreams(MemorySegment segment, long index, int value) SetsprimitivesGeneratedQueryWithNonZeroStreamswith the given value at the given index.intprimitivesGeneratedQueryWithNonZeroStreamsAt(long index) ReturnsprimitivesGeneratedQueryWithNonZeroStreamsat the given index.primitivesGeneratedQueryWithNonZeroStreamsAt(long index, int value) SetsprimitivesGeneratedQueryWithNonZeroStreamswith the given value at the given index.intReturnsprimitivesGeneratedQueryWithRasterizerDiscard.SetsprimitivesGeneratedQueryWithRasterizerDiscardwith the given value.static intprimitivesGeneratedQueryWithRasterizerDiscard(MemorySegment segment, long index) ReturnsprimitivesGeneratedQueryWithRasterizerDiscardat the given index.static voidprimitivesGeneratedQueryWithRasterizerDiscard(MemorySegment segment, long index, int value) SetsprimitivesGeneratedQueryWithRasterizerDiscardwith the given value at the given index.intprimitivesGeneratedQueryWithRasterizerDiscardAt(long index) ReturnsprimitivesGeneratedQueryWithRasterizerDiscardat the given index.primitivesGeneratedQueryWithRasterizerDiscardAt(long index, int value) SetsprimitivesGeneratedQueryWithRasterizerDiscardwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.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 ofVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT. -
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_primitivesGeneratedQuery
public static final long OFFSET_primitivesGeneratedQueryThe byte offset ofprimitivesGeneratedQuery. -
LAYOUT_primitivesGeneratedQuery
The memory layout ofprimitivesGeneratedQuery. -
VH_primitivesGeneratedQuery
-
OFFSET_primitivesGeneratedQueryWithRasterizerDiscard
public static final long OFFSET_primitivesGeneratedQueryWithRasterizerDiscardThe byte offset ofprimitivesGeneratedQueryWithRasterizerDiscard. -
LAYOUT_primitivesGeneratedQueryWithRasterizerDiscard
The memory layout ofprimitivesGeneratedQueryWithRasterizerDiscard. -
VH_primitivesGeneratedQueryWithRasterizerDiscard
-
OFFSET_primitivesGeneratedQueryWithNonZeroStreams
public static final long OFFSET_primitivesGeneratedQueryWithNonZeroStreamsThe byte offset ofprimitivesGeneratedQueryWithNonZeroStreams. -
LAYOUT_primitivesGeneratedQueryWithNonZeroStreams
The memory layout ofprimitivesGeneratedQueryWithNonZeroStreams. -
VH_primitivesGeneratedQueryWithNonZeroStreams
-
-
Constructor Details
-
VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT(MemorySegment segment, long elementCount) CreatesVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith 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 VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT ofNative(MemorySegment segment, long count) Creates
VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith 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 aVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
-
alloc
public static VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT alloc(SegmentAllocator allocator, long count) Allocates aVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
-
copyFrom
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT copyFrom(VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT 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
-
primitivesGeneratedQuery
ReturnsprimitivesGeneratedQueryat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
primitivesGeneratedQueryat the given index
-
primitivesGeneratedQuery
public int primitivesGeneratedQuery()ReturnsprimitivesGeneratedQuery.- Returns:
primitivesGeneratedQuery
-
primitivesGeneratedQuery
SetsprimitivesGeneratedQuerywith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
primitivesGeneratedQuery
SetsprimitivesGeneratedQuerywith the given value.- Parameters:
value- the value- Returns:
this
-
primitivesGeneratedQueryWithRasterizerDiscard
ReturnsprimitivesGeneratedQueryWithRasterizerDiscardat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
primitivesGeneratedQueryWithRasterizerDiscardat the given index
-
primitivesGeneratedQueryWithRasterizerDiscard
public int primitivesGeneratedQueryWithRasterizerDiscard()ReturnsprimitivesGeneratedQueryWithRasterizerDiscard.- Returns:
primitivesGeneratedQueryWithRasterizerDiscard
-
primitivesGeneratedQueryWithRasterizerDiscard
public static void primitivesGeneratedQueryWithRasterizerDiscard(MemorySegment segment, long index, int value) SetsprimitivesGeneratedQueryWithRasterizerDiscardwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
primitivesGeneratedQueryWithRasterizerDiscard
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithRasterizerDiscard(int value) SetsprimitivesGeneratedQueryWithRasterizerDiscardwith the given value.- Parameters:
value- the value- Returns:
this
-
primitivesGeneratedQueryWithNonZeroStreams
ReturnsprimitivesGeneratedQueryWithNonZeroStreamsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
primitivesGeneratedQueryWithNonZeroStreamsat the given index
-
primitivesGeneratedQueryWithNonZeroStreams
public int primitivesGeneratedQueryWithNonZeroStreams()ReturnsprimitivesGeneratedQueryWithNonZeroStreams.- Returns:
primitivesGeneratedQueryWithNonZeroStreams
-
primitivesGeneratedQueryWithNonZeroStreams
public static void primitivesGeneratedQueryWithNonZeroStreams(MemorySegment segment, long index, int value) SetsprimitivesGeneratedQueryWithNonZeroStreamswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
primitivesGeneratedQueryWithNonZeroStreams
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithNonZeroStreams(int value) SetsprimitivesGeneratedQueryWithNonZeroStreamswith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
-
asSlice
Creates a slice ofVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
-
at
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT at(long index, Consumer<VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT> func) VisitsVkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXTbuffer 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
-
primitivesGeneratedQueryAt
public int primitivesGeneratedQueryAt(long index) ReturnsprimitivesGeneratedQueryat the given index.- Parameters:
index- the index of the struct buffer- Returns:
primitivesGeneratedQueryat the given index
-
primitivesGeneratedQueryAt
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryAt(long index, int value) SetsprimitivesGeneratedQuerywith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
primitivesGeneratedQueryWithRasterizerDiscardAt
public int primitivesGeneratedQueryWithRasterizerDiscardAt(long index) ReturnsprimitivesGeneratedQueryWithRasterizerDiscardat the given index.- Parameters:
index- the index of the struct buffer- Returns:
primitivesGeneratedQueryWithRasterizerDiscardat the given index
-
primitivesGeneratedQueryWithRasterizerDiscardAt
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithRasterizerDiscardAt(long index, int value) SetsprimitivesGeneratedQueryWithRasterizerDiscardwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
primitivesGeneratedQueryWithNonZeroStreamsAt
public int primitivesGeneratedQueryWithNonZeroStreamsAt(long index) ReturnsprimitivesGeneratedQueryWithNonZeroStreamsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
primitivesGeneratedQueryWithNonZeroStreamsat the given index
-
primitivesGeneratedQueryWithNonZeroStreamsAt
public VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitivesGeneratedQueryWithNonZeroStreamsAt(long index, int value) SetsprimitivesGeneratedQueryWithNonZeroStreamswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-