Class VkVideoEncodeH264FrameSizeKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH264FrameSizeKHR
overrungl.vulkan.khr.struct.VkVideoEncodeH264FrameSizeKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkVideoEncodeH264FrameSizeKHR
public static final class VkVideoEncodeH264FrameSizeKHR.Buffer
extends VkVideoEncodeH264FrameSizeKHR
A buffer of
VkVideoEncodeH264FrameSizeKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeH264FrameSizeKHR
VkVideoEncodeH264FrameSizeKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeH264FrameSizeKHR
LAYOUT, LAYOUT_frameBSize, LAYOUT_frameISize, LAYOUT_framePSize, OFFSET_frameBSize, OFFSET_frameISize, OFFSET_framePSize, VH_frameBSize, VH_frameISize, VH_framePSize
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkVideoEncodeH264FrameSizeKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkVideoEncodeH264FrameSizeKHR
.asSlice
(long index, long count) Creates a slice ofVkVideoEncodeH264FrameSizeKHR
.long
Estimates the element count of this group type buffer.int
frameBSizeAt
(long index) ReturnsframeBSize
at the given index.frameBSizeAt
(long index, int value) SetsframeBSize
with the given value at the given index.int
frameISizeAt
(long index) ReturnsframeISize
at the given index.frameISizeAt
(long index, int value) SetsframeISize
with the given value at the given index.int
framePSizeAt
(long index) ReturnsframePSize
at the given index.framePSizeAt
(long index, int value) SetsframePSize
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkVideoEncodeH264FrameSizeKHR
alloc, alloc, asBuffer, copyFrom, frameBSize, frameBSize, frameBSize, frameBSize, frameISize, frameISize, frameISize, frameISize, framePSize, framePSize, framePSize, framePSize, of, ofNative, ofNative
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkVideoEncodeH264FrameSizeKHR.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 ofVkVideoEncodeH264FrameSizeKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkVideoEncodeH264FrameSizeKHR
-
asSlice
Creates a slice ofVkVideoEncodeH264FrameSizeKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkVideoEncodeH264FrameSizeKHR
-
frameISizeAt
public int frameISizeAt(long index) ReturnsframeISize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
frameISize
at the given index
-
frameISizeAt
SetsframeISize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
framePSizeAt
public int framePSizeAt(long index) ReturnsframePSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
framePSize
at the given index
-
framePSizeAt
SetsframePSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
frameBSizeAt
public int frameBSizeAt(long index) ReturnsframeBSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
frameBSize
at the given index
-
frameBSizeAt
SetsframeBSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-