Class VkVideoEncodeH264FrameSizeKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH264FrameSizeKHR
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkVideoEncodeH264FrameSizeKHR.Buffer
public sealed class VkVideoEncodeH264FrameSizeKHR
extends GroupType
permits VkVideoEncodeH264FrameSizeKHR.Buffer
Layout
struct VkVideoEncodeH264FrameSizeKHR {
uint32_t frameISize;
uint32_t framePSize;
uint32_t frameBSize;
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkVideoEncodeH264FrameSizeKHR
.static final MemoryLayout
The memory layout offrameBSize
.static final MemoryLayout
The memory layout offrameISize
.static final MemoryLayout
The memory layout offramePSize
.static final long
The byte offset offrameBSize
.static final long
The byte offset offrameISize
.static final long
The byte offset offramePSize
.static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionCreatesVkVideoEncodeH264FrameSizeKHR
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.Copies from the given source.int
ReturnsframeBSize
.frameBSize
(int value) SetsframeBSize
with the given value.static int
frameBSize
(MemorySegment segment, long index) ReturnsframeBSize
at the given index.static void
frameBSize
(MemorySegment segment, long index, int value) SetsframeBSize
with the given value at the given index.int
ReturnsframeISize
.frameISize
(int value) SetsframeISize
with the given value.static int
frameISize
(MemorySegment segment, long index) ReturnsframeISize
at the given index.static void
frameISize
(MemorySegment segment, long index, int value) SetsframeISize
with the given value at the given index.int
ReturnsframePSize
.framePSize
(int value) SetsframePSize
with the given value.static int
framePSize
(MemorySegment segment, long index) ReturnsframePSize
at the given index.static void
framePSize
(MemorySegment segment, long index, int value) SetsframePSize
with the given value at the given index.of
(MemorySegment segment) CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.ofNative
(MemorySegment segment) CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkVideoEncodeH264FrameSizeKHR
. -
OFFSET_frameISize
public static final long OFFSET_frameISizeThe byte offset offrameISize
. -
LAYOUT_frameISize
The memory layout offrameISize
. -
VH_frameISize
-
OFFSET_framePSize
public static final long OFFSET_framePSizeThe byte offset offramePSize
. -
LAYOUT_framePSize
The memory layout offramePSize
. -
VH_framePSize
-
OFFSET_frameBSize
public static final long OFFSET_frameBSizeThe byte offset offrameBSize
. -
LAYOUT_frameBSize
The memory layout offrameBSize
. -
VH_frameBSize
-
-
Constructor Details
-
VkVideoEncodeH264FrameSizeKHR
CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkVideoEncodeH264FrameSizeKHR
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
VkVideoEncodeH264FrameSizeKHR
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 aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkVideoEncodeH264FrameSizeKHR
-
alloc
Allocates aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkVideoEncodeH264FrameSizeKHR
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
frameISize
ReturnsframeISize
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
frameISize
at the given index
-
frameISize
public int frameISize()ReturnsframeISize
.- Returns:
frameISize
-
frameISize
SetsframeISize
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
frameISize
SetsframeISize
with the given value.- Parameters:
value
- the value- Returns:
this
-
framePSize
ReturnsframePSize
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
framePSize
at the given index
-
framePSize
public int framePSize()ReturnsframePSize
.- Returns:
framePSize
-
framePSize
SetsframePSize
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
framePSize
SetsframePSize
with the given value.- Parameters:
value
- the value- Returns:
this
-
frameBSize
ReturnsframeBSize
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
frameBSize
at the given index
-
frameBSize
public int frameBSize()ReturnsframeBSize
.- Returns:
frameBSize
-
frameBSize
SetsframeBSize
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
frameBSize
SetsframeBSize
with the given value.- Parameters:
value
- the value- Returns:
this
-