Class VkPastPresentationTimingGOOGLE
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.google.struct.VkPastPresentationTimingGOOGLE
- All Implemented Interfaces:
Addressable
Layout
struct VkPastPresentationTimingGOOGLE {
uint32_t presentID;
uint64_t desiredPresentTime;
uint64_t actualPresentTime;
uint64_t earliestPresentTime;
uint64_t presentMargin;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkPastPresentationTimingGOOGLE
.static final MemoryLayout
The memory layout ofactualPresentTime
.static final MemoryLayout
The memory layout ofdesiredPresentTime
.static final MemoryLayout
The memory layout ofearliestPresentTime
.static final MemoryLayout
The memory layout ofpresentID
.static final MemoryLayout
The memory layout ofpresentMargin
.static final long
The byte offset ofactualPresentTime
.static final long
The byte offset ofdesiredPresentTime
.static final long
The byte offset ofearliestPresentTime
.static final long
The byte offset ofpresentID
.static final long
The byte offset ofpresentMargin
.static final VarHandle
TheVarHandle
ofactualPresentTime
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofdesiredPresentTime
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofearliestPresentTime
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofpresentMargin
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionVkPastPresentationTimingGOOGLE
(MemorySegment segment, long elementCount) CreatesVkPastPresentationTimingGOOGLE
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionlong
ReturnsactualPresentTime
.actualPresentTime
(long value) SetsactualPresentTime
with the given value.static long
actualPresentTime
(MemorySegment segment, long index) ReturnsactualPresentTime
at the given index.static void
actualPresentTime
(MemorySegment segment, long index, long value) SetsactualPresentTime
with the given value at the given index.long
actualPresentTimeAt
(long index) ReturnsactualPresentTime
at the given index.actualPresentTimeAt
(long index, long value) SetsactualPresentTime
with the given value at the given index.alloc
(SegmentAllocator allocator) Allocates aVkPastPresentationTimingGOOGLE
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkPastPresentationTimingGOOGLE
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkPastPresentationTimingGOOGLE
.asSlice
(long index, long count) Creates a slice ofVkPastPresentationTimingGOOGLE
.at
(long index, Consumer<VkPastPresentationTimingGOOGLE> func) VisitsVkPastPresentationTimingGOOGLE
buffer at the given index.Copies from the given source.long
ReturnsdesiredPresentTime
.desiredPresentTime
(long value) SetsdesiredPresentTime
with the given value.static long
desiredPresentTime
(MemorySegment segment, long index) ReturnsdesiredPresentTime
at the given index.static void
desiredPresentTime
(MemorySegment segment, long index, long value) SetsdesiredPresentTime
with the given value at the given index.long
desiredPresentTimeAt
(long index) ReturnsdesiredPresentTime
at the given index.desiredPresentTimeAt
(long index, long value) SetsdesiredPresentTime
with the given value at the given index.long
ReturnsearliestPresentTime
.earliestPresentTime
(long value) SetsearliestPresentTime
with the given value.static long
earliestPresentTime
(MemorySegment segment, long index) ReturnsearliestPresentTime
at the given index.static void
earliestPresentTime
(MemorySegment segment, long index, long value) SetsearliestPresentTime
with the given value at the given index.long
earliestPresentTimeAt
(long index) ReturnsearliestPresentTime
at the given index.earliestPresentTimeAt
(long index, long value) SetsearliestPresentTime
with the given value at the given index.of
(MemorySegment segment) CreatesVkPastPresentationTimingGOOGLE
with the given segment.ofNative
(MemorySegment segment) CreatesVkPastPresentationTimingGOOGLE
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkPastPresentationTimingGOOGLE
with the given segment.int
ReturnspresentID
.presentID
(int value) SetspresentID
with the given value.static int
presentID
(MemorySegment segment, long index) ReturnspresentID
at the given index.static void
presentID
(MemorySegment segment, long index, int value) SetspresentID
with the given value at the given index.int
presentIDAt
(long index) ReturnspresentID
at the given index.presentIDAt
(long index, int value) SetspresentID
with the given value at the given index.long
ReturnspresentMargin
.presentMargin
(long value) SetspresentMargin
with the given value.static long
presentMargin
(MemorySegment segment, long index) ReturnspresentMargin
at the given index.static void
presentMargin
(MemorySegment segment, long index, long value) SetspresentMargin
with the given value at the given index.long
presentMarginAt
(long index) ReturnspresentMargin
at the given index.presentMarginAt
(long index, long value) SetspresentMargin
with the given value at the given index.reinterpret
(long count) Reinterprets this buffer with the given count.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkPastPresentationTimingGOOGLE
. -
OFFSET_presentID
public static final long OFFSET_presentIDThe byte offset ofpresentID
. -
LAYOUT_presentID
The memory layout ofpresentID
. -
VH_presentID
-
OFFSET_desiredPresentTime
public static final long OFFSET_desiredPresentTimeThe byte offset ofdesiredPresentTime
. -
LAYOUT_desiredPresentTime
The memory layout ofdesiredPresentTime
. -
VH_desiredPresentTime
-
OFFSET_actualPresentTime
public static final long OFFSET_actualPresentTimeThe byte offset ofactualPresentTime
. -
LAYOUT_actualPresentTime
The memory layout ofactualPresentTime
. -
VH_actualPresentTime
-
OFFSET_earliestPresentTime
public static final long OFFSET_earliestPresentTimeThe byte offset ofearliestPresentTime
. -
LAYOUT_earliestPresentTime
The memory layout ofearliestPresentTime
. -
VH_earliestPresentTime
-
OFFSET_presentMargin
public static final long OFFSET_presentMarginThe byte offset ofpresentMargin
. -
LAYOUT_presentMargin
The memory layout ofpresentMargin
. -
VH_presentMargin
-
-
Constructor Details
-
VkPastPresentationTimingGOOGLE
CreatesVkPastPresentationTimingGOOGLE
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPastPresentationTimingGOOGLE
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkPastPresentationTimingGOOGLE
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
Creates
VkPastPresentationTimingGOOGLE
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 aVkPastPresentationTimingGOOGLE
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkPastPresentationTimingGOOGLE
-
alloc
Allocates aVkPastPresentationTimingGOOGLE
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkPastPresentationTimingGOOGLE
-
copyFrom
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
-
presentID
ReturnspresentID
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
presentID
at the given index
-
presentID
public int presentID()ReturnspresentID
.- Returns:
presentID
-
presentID
SetspresentID
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
presentID
SetspresentID
with the given value.- Parameters:
value
- the value- Returns:
this
-
desiredPresentTime
ReturnsdesiredPresentTime
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
desiredPresentTime
at the given index
-
desiredPresentTime
public long desiredPresentTime()ReturnsdesiredPresentTime
.- Returns:
desiredPresentTime
-
desiredPresentTime
SetsdesiredPresentTime
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
desiredPresentTime
SetsdesiredPresentTime
with the given value.- Parameters:
value
- the value- Returns:
this
-
actualPresentTime
ReturnsactualPresentTime
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
actualPresentTime
at the given index
-
actualPresentTime
public long actualPresentTime()ReturnsactualPresentTime
.- Returns:
actualPresentTime
-
actualPresentTime
SetsactualPresentTime
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
actualPresentTime
SetsactualPresentTime
with the given value.- Parameters:
value
- the value- Returns:
this
-
earliestPresentTime
ReturnsearliestPresentTime
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
earliestPresentTime
at the given index
-
earliestPresentTime
public long earliestPresentTime()ReturnsearliestPresentTime
.- Returns:
earliestPresentTime
-
earliestPresentTime
SetsearliestPresentTime
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
earliestPresentTime
SetsearliestPresentTime
with the given value.- Parameters:
value
- the value- Returns:
this
-
presentMargin
ReturnspresentMargin
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
presentMargin
at the given index
-
presentMargin
public long presentMargin()ReturnspresentMargin
.- Returns:
presentMargin
-
presentMargin
SetspresentMargin
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
presentMargin
SetspresentMargin
with the given value.- Parameters:
value
- the value- Returns:
this
-
asSlice
Creates a slice ofVkPastPresentationTimingGOOGLE
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPastPresentationTimingGOOGLE
-
asSlice
Creates a slice ofVkPastPresentationTimingGOOGLE
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPastPresentationTimingGOOGLE
-
at
VisitsVkPastPresentationTimingGOOGLE
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
presentIDAt
public int presentIDAt(long index) ReturnspresentID
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
presentID
at the given index
-
presentIDAt
SetspresentID
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
desiredPresentTimeAt
public long desiredPresentTimeAt(long index) ReturnsdesiredPresentTime
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
desiredPresentTime
at the given index
-
desiredPresentTimeAt
SetsdesiredPresentTime
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
actualPresentTimeAt
public long actualPresentTimeAt(long index) ReturnsactualPresentTime
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
actualPresentTime
at the given index
-
actualPresentTimeAt
SetsactualPresentTime
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
earliestPresentTimeAt
public long earliestPresentTimeAt(long index) ReturnsearliestPresentTime
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
earliestPresentTime
at the given index
-
earliestPresentTimeAt
SetsearliestPresentTime
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
presentMarginAt
public long presentMarginAt(long index) ReturnspresentMargin
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
presentMargin
at the given index
-
presentMarginAt
SetspresentMargin
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-