Class VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeAV1GopRemainingFrameInfoKHR
overrungl.vulkan.khr.struct.VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkVideoEncodeAV1GopRemainingFrameInfoKHR
public static final class VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer
extends VkVideoEncodeAV1GopRemainingFrameInfoKHR
A buffer of
VkVideoEncodeAV1GopRemainingFrameInfoKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeAV1GopRemainingFrameInfoKHR
VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeAV1GopRemainingFrameInfoKHR
LAYOUT, LAYOUT_gopRemainingBipredictive, LAYOUT_gopRemainingIntra, LAYOUT_gopRemainingPredictive, LAYOUT_pNext, LAYOUT_sType, LAYOUT_useGopRemainingFrames, OFFSET_gopRemainingBipredictive, OFFSET_gopRemainingIntra, OFFSET_gopRemainingPredictive, OFFSET_pNext, OFFSET_sType, OFFSET_useGopRemainingFrames, VH_gopRemainingBipredictive, VH_gopRemainingIntra, VH_gopRemainingPredictive, VH_pNext, VH_sType, VH_useGopRemainingFrames
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkVideoEncodeAV1GopRemainingFrameInfoKHR
.asSlice
(long index, long count) Creates a slice ofVkVideoEncodeAV1GopRemainingFrameInfoKHR
.long
Estimates the element count of this group type buffer.int
gopRemainingBipredictiveAt
(long index) ReturnsgopRemainingBipredictive
at the given index.gopRemainingBipredictiveAt
(long index, int value) SetsgopRemainingBipredictive
with the given value at the given index.int
gopRemainingIntraAt
(long index) ReturnsgopRemainingIntra
at the given index.gopRemainingIntraAt
(long index, int value) SetsgopRemainingIntra
with the given value at the given index.int
gopRemainingPredictiveAt
(long index) ReturnsgopRemainingPredictive
at the given index.gopRemainingPredictiveAt
(long index, int value) SetsgopRemainingPredictive
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.int
useGopRemainingFramesAt
(long index) ReturnsuseGopRemainingFrames
at the given index.useGopRemainingFramesAt
(long index, int value) SetsuseGopRemainingFrames
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeAV1GopRemainingFrameInfoKHR
alloc, alloc, asBuffer, copyFrom, gopRemainingBipredictive, gopRemainingBipredictive, gopRemainingBipredictive, gopRemainingBipredictive, gopRemainingIntra, gopRemainingIntra, gopRemainingIntra, gopRemainingIntra, gopRemainingPredictive, gopRemainingPredictive, gopRemainingPredictive, gopRemainingPredictive, of, ofNative, ofNative, pNext, pNext, pNext, pNext, sType, sType, sType, sType, useGopRemainingFrames, useGopRemainingFrames, useGopRemainingFrames, useGopRemainingFrames
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofVkVideoEncodeAV1GopRemainingFrameInfoKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkVideoEncodeAV1GopRemainingFrameInfoKHR
-
asSlice
Creates a slice ofVkVideoEncodeAV1GopRemainingFrameInfoKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkVideoEncodeAV1GopRemainingFrameInfoKHR
-
sTypeAt
public int sTypeAt(long index) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
useGopRemainingFramesAt
public int useGopRemainingFramesAt(long index) ReturnsuseGopRemainingFrames
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
useGopRemainingFrames
at the given index
-
useGopRemainingFramesAt
public VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer useGopRemainingFramesAt(long index, int value) SetsuseGopRemainingFrames
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
gopRemainingIntraAt
public int gopRemainingIntraAt(long index) ReturnsgopRemainingIntra
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
gopRemainingIntra
at the given index
-
gopRemainingIntraAt
SetsgopRemainingIntra
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
gopRemainingPredictiveAt
public int gopRemainingPredictiveAt(long index) ReturnsgopRemainingPredictive
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
gopRemainingPredictive
at the given index
-
gopRemainingPredictiveAt
public VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer gopRemainingPredictiveAt(long index, int value) SetsgopRemainingPredictive
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
gopRemainingBipredictiveAt
public int gopRemainingBipredictiveAt(long index) ReturnsgopRemainingBipredictive
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
gopRemainingBipredictive
at the given index
-
gopRemainingBipredictiveAt
public VkVideoEncodeAV1GopRemainingFrameInfoKHR.Buffer gopRemainingBipredictiveAt(long index, int value) SetsgopRemainingBipredictive
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-