Class VkVideoEncodeH265QpKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH265QpKHR
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkVideoEncodeH265QpKHR.Buffer
Layout
struct VkVideoEncodeH265QpKHR {
int32_t qpI;
int32_t qpP;
int32_t qpB;
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkVideoEncodeH265QpKHR
.static final MemoryLayout
The memory layout ofqpB
.static final MemoryLayout
The memory layout ofqpI
.static final MemoryLayout
The memory layout ofqpP
.static final long
The byte offset ofqpB
.static final long
The byte offset ofqpI
.static final long
The byte offset ofqpP
.static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeH265QpKHR
(MemorySegment segment) CreatesVkVideoEncodeH265QpKHR
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkVideoEncodeH265QpKHR
alloc
(SegmentAllocator allocator) Allocates aVkVideoEncodeH265QpKHR
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkVideoEncodeH265QpKHR
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.Copies from the given source.of
(MemorySegment segment) CreatesVkVideoEncodeH265QpKHR
with the given segment.static VkVideoEncodeH265QpKHR
ofNative
(MemorySegment segment) CreatesVkVideoEncodeH265QpKHR
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkVideoEncodeH265QpKHR
with the given segment.int
qpB()
ReturnsqpB
.qpB
(int value) SetsqpB
with the given value.static int
qpB
(MemorySegment segment, long index) ReturnsqpB
at the given index.static void
qpB
(MemorySegment segment, long index, int value) SetsqpB
with the given value at the given index.int
qpI()
ReturnsqpI
.qpI
(int value) SetsqpI
with the given value.static int
qpI
(MemorySegment segment, long index) ReturnsqpI
at the given index.static void
qpI
(MemorySegment segment, long index, int value) SetsqpI
with the given value at the given index.int
qpP()
ReturnsqpP
.qpP
(int value) SetsqpP
with the given value.static int
qpP
(MemorySegment segment, long index) ReturnsqpP
at the given index.static void
qpP
(MemorySegment segment, long index, int value) SetsqpP
with the given value at the given index.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkVideoEncodeH265QpKHR
. -
OFFSET_qpI
public static final long OFFSET_qpIThe byte offset ofqpI
. -
LAYOUT_qpI
The memory layout ofqpI
. -
VH_qpI
-
OFFSET_qpP
public static final long OFFSET_qpPThe byte offset ofqpP
. -
LAYOUT_qpP
The memory layout ofqpP
. -
VH_qpP
-
OFFSET_qpB
public static final long OFFSET_qpBThe byte offset ofqpB
. -
LAYOUT_qpB
The memory layout ofqpB
. -
VH_qpB
-
-
Constructor Details
-
VkVideoEncodeH265QpKHR
CreatesVkVideoEncodeH265QpKHR
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkVideoEncodeH265QpKHR
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkVideoEncodeH265QpKHR
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
VkVideoEncodeH265QpKHR
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 aVkVideoEncodeH265QpKHR
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkVideoEncodeH265QpKHR
-
alloc
Allocates aVkVideoEncodeH265QpKHR
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkVideoEncodeH265QpKHR
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
qpI
ReturnsqpI
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
qpI
at the given index
-
qpI
public int qpI()ReturnsqpI
.- Returns:
qpI
-
qpI
SetsqpI
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
qpI
SetsqpI
with the given value.- Parameters:
value
- the value- Returns:
this
-
qpP
ReturnsqpP
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
qpP
at the given index
-
qpP
public int qpP()ReturnsqpP
.- Returns:
qpP
-
qpP
SetsqpP
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
qpP
SetsqpP
with the given value.- Parameters:
value
- the value- Returns:
this
-
qpB
ReturnsqpB
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
qpB
at the given index
-
qpB
public int qpB()ReturnsqpB
.- Returns:
qpB
-
qpB
SetsqpB
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
qpB
SetsqpB
with the given value.- Parameters:
value
- the value- Returns:
this
-