Class VkPastPresentationTimingGOOGLE
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.google.struct.VkPastPresentationTimingGOOGLE
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkPastPresentationTimingGOOGLE.Buffer
public sealed class VkPastPresentationTimingGOOGLE
extends GroupType
permits VkPastPresentationTimingGOOGLE.Buffer
Layout
struct VkPastPresentationTimingGOOGLE {
uint32_t presentID;
uint64_t desiredPresentTime;
uint64_t actualPresentTime;
uint64_t earliestPresentTime;
uint64_t presentMargin;
};
-
Nested Class Summary
Nested Classes -
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
ConstructorsConstructorDescriptionCreatesVkPastPresentationTimingGOOGLE
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.alloc
(SegmentAllocator allocator) Allocates aVkPastPresentationTimingGOOGLE
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkPastPresentationTimingGOOGLE
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.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
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.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.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.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 segment
-
-
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
-
asBuffer
Converts this instance to a buffer.- Returns:
- the 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
-