Class VkPastPresentationTimingGOOGLE
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.google.struct.VkPastPresentationTimingGOOGLE
- All Implemented Interfaces:
Addressable
Represents VkPastPresentationTimingGOOGLE.
Layout
struct VkPastPresentationTimingGOOGLE {
uint32_t presentID;
uint64_t desiredPresentTime;
uint64_t actualPresentTime;
uint64_t earliestPresentTime;
uint64_t presentMargin;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkPastPresentationTimingGOOGLE.static final MemoryLayoutThe memory layout ofactualPresentTime.static final MemoryLayoutThe memory layout ofdesiredPresentTime.static final MemoryLayoutThe memory layout ofearliestPresentTime.static final MemoryLayoutThe memory layout ofpresentID.static final MemoryLayoutThe memory layout ofpresentMargin.static final longThe byte offset ofactualPresentTime.static final longThe byte offset ofdesiredPresentTime.static final longThe byte offset ofearliestPresentTime.static final longThe byte offset ofpresentID.static final longThe byte offset ofpresentMargin.static final VarHandleTheVarHandleofactualPresentTimeof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofdesiredPresentTimeof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofearliestPresentTimeof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleofpresentMarginof type(MemorySegment base, long baseOffset, long index)MemorySegment. -
Constructor Summary
ConstructorsConstructorDescriptionVkPastPresentationTimingGOOGLE(MemorySegment segment, long elementCount) CreatesVkPastPresentationTimingGOOGLEwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionlongReturnsactualPresentTime.actualPresentTime(long value) SetsactualPresentTimewith the given value.static longactualPresentTime(MemorySegment segment, long index) ReturnsactualPresentTimeat the given index.static voidactualPresentTime(MemorySegment segment, long index, long value) SetsactualPresentTimewith the given value at the given index.longactualPresentTimeAt(long index) ReturnsactualPresentTimeat the given index.actualPresentTimeAt(long index, long value) SetsactualPresentTimewith the given value at the given index.alloc(SegmentAllocator allocator) Allocates aVkPastPresentationTimingGOOGLEwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkPastPresentationTimingGOOGLEwith 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) VisitsVkPastPresentationTimingGOOGLEbuffer at the given index.Copies from the given source.longReturnsdesiredPresentTime.desiredPresentTime(long value) SetsdesiredPresentTimewith the given value.static longdesiredPresentTime(MemorySegment segment, long index) ReturnsdesiredPresentTimeat the given index.static voiddesiredPresentTime(MemorySegment segment, long index, long value) SetsdesiredPresentTimewith the given value at the given index.longdesiredPresentTimeAt(long index) ReturnsdesiredPresentTimeat the given index.desiredPresentTimeAt(long index, long value) SetsdesiredPresentTimewith the given value at the given index.longReturnsearliestPresentTime.earliestPresentTime(long value) SetsearliestPresentTimewith the given value.static longearliestPresentTime(MemorySegment segment, long index) ReturnsearliestPresentTimeat the given index.static voidearliestPresentTime(MemorySegment segment, long index, long value) SetsearliestPresentTimewith the given value at the given index.longearliestPresentTimeAt(long index) ReturnsearliestPresentTimeat the given index.earliestPresentTimeAt(long index, long value) SetsearliestPresentTimewith the given value at the given index.of(MemorySegment segment) CreatesVkPastPresentationTimingGOOGLEwith the given segment.ofNative(MemorySegment segment) CreatesVkPastPresentationTimingGOOGLEwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkPastPresentationTimingGOOGLEwith the given segment.intReturnspresentID.presentID(int value) SetspresentIDwith the given value.static intpresentID(MemorySegment segment, long index) ReturnspresentIDat the given index.static voidpresentID(MemorySegment segment, long index, int value) SetspresentIDwith the given value at the given index.intpresentIDAt(long index) ReturnspresentIDat the given index.presentIDAt(long index, int value) SetspresentIDwith the given value at the given index.longReturnspresentMargin.presentMargin(long value) SetspresentMarginwith the given value.static longpresentMargin(MemorySegment segment, long index) ReturnspresentMarginat the given index.static voidpresentMargin(MemorySegment segment, long index, long value) SetspresentMarginwith the given value at the given index.longpresentMarginAt(long index) ReturnspresentMarginat the given index.presentMarginAt(long index, long value) SetspresentMarginwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.Methods inherited from class 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
CreatesVkPastPresentationTimingGOOGLEwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPastPresentationTimingGOOGLEwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkPastPresentationTimingGOOGLEwith 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
VkPastPresentationTimingGOOGLEwith 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 aVkPastPresentationTimingGOOGLEwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkPastPresentationTimingGOOGLE
-
alloc
Allocates aVkPastPresentationTimingGOOGLEwith 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
ReturnspresentIDat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
presentIDat the given index
-
presentID
public int presentID()ReturnspresentID.- Returns:
presentID
-
presentID
SetspresentIDwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
presentID
SetspresentIDwith the given value.- Parameters:
value- the value- Returns:
this
-
desiredPresentTime
ReturnsdesiredPresentTimeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
desiredPresentTimeat the given index
-
desiredPresentTime
public long desiredPresentTime()ReturnsdesiredPresentTime.- Returns:
desiredPresentTime
-
desiredPresentTime
SetsdesiredPresentTimewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
desiredPresentTime
SetsdesiredPresentTimewith the given value.- Parameters:
value- the value- Returns:
this
-
actualPresentTime
ReturnsactualPresentTimeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
actualPresentTimeat the given index
-
actualPresentTime
public long actualPresentTime()ReturnsactualPresentTime.- Returns:
actualPresentTime
-
actualPresentTime
SetsactualPresentTimewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
actualPresentTime
SetsactualPresentTimewith the given value.- Parameters:
value- the value- Returns:
this
-
earliestPresentTime
ReturnsearliestPresentTimeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
earliestPresentTimeat the given index
-
earliestPresentTime
public long earliestPresentTime()ReturnsearliestPresentTime.- Returns:
earliestPresentTime
-
earliestPresentTime
SetsearliestPresentTimewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
earliestPresentTime
SetsearliestPresentTimewith the given value.- Parameters:
value- the value- Returns:
this
-
presentMargin
ReturnspresentMarginat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
presentMarginat the given index
-
presentMargin
public long presentMargin()ReturnspresentMargin.- Returns:
presentMargin
-
presentMargin
SetspresentMarginwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
presentMargin
SetspresentMarginwith 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
VisitsVkPastPresentationTimingGOOGLEbuffer 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) ReturnspresentIDat the given index.- Parameters:
index- the index of the struct buffer- Returns:
presentIDat the given index
-
presentIDAt
SetspresentIDwith 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) ReturnsdesiredPresentTimeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
desiredPresentTimeat the given index
-
desiredPresentTimeAt
SetsdesiredPresentTimewith 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) ReturnsactualPresentTimeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
actualPresentTimeat the given index
-
actualPresentTimeAt
SetsactualPresentTimewith 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) ReturnsearliestPresentTimeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
earliestPresentTimeat the given index
-
earliestPresentTimeAt
SetsearliestPresentTimewith 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) ReturnspresentMarginat the given index.- Parameters:
index- the index of the struct buffer- Returns:
presentMarginat the given index
-
presentMarginAt
SetspresentMarginwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-