Class VkVideoEncodeH264RateControlLayerInfoKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH264RateControlLayerInfoKHR
overrungl.vulkan.khr.struct.VkVideoEncodeH264RateControlLayerInfoKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkVideoEncodeH264RateControlLayerInfoKHR
public static final class VkVideoEncodeH264RateControlLayerInfoKHR.Buffer
extends VkVideoEncodeH264RateControlLayerInfoKHR
A buffer of
VkVideoEncodeH264RateControlLayerInfoKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeH264RateControlLayerInfoKHR
VkVideoEncodeH264RateControlLayerInfoKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeH264RateControlLayerInfoKHR
LAYOUT, LAYOUT_maxFrameSize, LAYOUT_maxQp, LAYOUT_minQp, LAYOUT_pNext, LAYOUT_sType, LAYOUT_useMaxFrameSize, LAYOUT_useMaxQp, LAYOUT_useMinQp, OFFSET_maxFrameSize, OFFSET_maxQp, OFFSET_minQp, OFFSET_pNext, OFFSET_sType, OFFSET_useMaxFrameSize, OFFSET_useMaxQp, OFFSET_useMinQp, VH_pNext, VH_sType, VH_useMaxFrameSize, VH_useMaxQp, VH_useMinQp
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkVideoEncodeH264RateControlLayerInfoKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkVideoEncodeH264RateControlLayerInfoKHR
.asSlice
(long index, long count) Creates a slice ofVkVideoEncodeH264RateControlLayerInfoKHR
.long
Estimates the element count of this group type buffer.maxFrameSizeAt
(long index) ReturnsmaxFrameSize
at the given index.maxFrameSizeAt
(long index, MemorySegment value) SetsmaxFrameSize
with the given value at the given index.maxQpAt
(long index) ReturnsmaxQp
at the given index.maxQpAt
(long index, MemorySegment value) SetsmaxQp
with the given value at the given index.minQpAt
(long index) ReturnsminQp
at the given index.minQpAt
(long index, MemorySegment value) SetsminQp
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
useMaxFrameSizeAt
(long index) ReturnsuseMaxFrameSize
at the given index.useMaxFrameSizeAt
(long index, int value) SetsuseMaxFrameSize
with the given value at the given index.int
useMaxQpAt
(long index) ReturnsuseMaxQp
at the given index.useMaxQpAt
(long index, int value) SetsuseMaxQp
with the given value at the given index.int
useMinQpAt
(long index) ReturnsuseMinQp
at the given index.useMinQpAt
(long index, int value) SetsuseMinQp
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeH264RateControlLayerInfoKHR
alloc, alloc, asBuffer, copyFrom, maxFrameSize, maxFrameSize, maxFrameSize, maxFrameSize, maxQp, maxQp, maxQp, maxQp, minQp, minQp, minQp, minQp, of, ofNative, ofNative, pNext, pNext, pNext, pNext, sType, sType, sType, sType, useMaxFrameSize, useMaxFrameSize, useMaxFrameSize, useMaxFrameSize, useMaxQp, useMaxQp, useMaxQp, useMaxQp, useMinQp, useMinQp, useMinQp, useMinQp
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkVideoEncodeH264RateControlLayerInfoKHR.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 ofVkVideoEncodeH264RateControlLayerInfoKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkVideoEncodeH264RateControlLayerInfoKHR
-
asSlice
Creates a slice ofVkVideoEncodeH264RateControlLayerInfoKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkVideoEncodeH264RateControlLayerInfoKHR
-
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
-
useMinQpAt
public int useMinQpAt(long index) ReturnsuseMinQp
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
useMinQp
at the given index
-
useMinQpAt
SetsuseMinQp
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
minQpAt
ReturnsminQp
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
minQp
at the given index
-
minQpAt
SetsminQp
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
useMaxQpAt
public int useMaxQpAt(long index) ReturnsuseMaxQp
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
useMaxQp
at the given index
-
useMaxQpAt
SetsuseMaxQp
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
maxQpAt
ReturnsmaxQp
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
maxQp
at the given index
-
maxQpAt
SetsmaxQp
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
useMaxFrameSizeAt
public int useMaxFrameSizeAt(long index) ReturnsuseMaxFrameSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
useMaxFrameSize
at the given index
-
useMaxFrameSizeAt
SetsuseMaxFrameSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
maxFrameSizeAt
ReturnsmaxFrameSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
maxFrameSize
at the given index
-
maxFrameSizeAt
public VkVideoEncodeH264RateControlLayerInfoKHR.Buffer maxFrameSizeAt(long index, MemorySegment value) SetsmaxFrameSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-