Class VkVideoEncodeH265QpKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH265QpKHR
- All Implemented Interfaces:
Addressable
Represents VkVideoEncodeH265QpKHR.
Layout
struct VkVideoEncodeH265QpKHR {
int32_t qpI;
int32_t qpP;
int32_t qpB;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkVideoEncodeH265QpKHR.static final MemoryLayoutThe memory layout ofqpB.static final MemoryLayoutThe memory layout ofqpI.static final MemoryLayoutThe memory layout ofqpP.static final longThe byte offset ofqpB.static final longThe byte offset ofqpI.static final longThe byte offset ofqpP.static final VarHandlestatic final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeH265QpKHR(MemorySegment segment, long elementCount) CreatesVkVideoEncodeH265QpKHRwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkVideoEncodeH265QpKHRalloc(SegmentAllocator allocator) Allocates aVkVideoEncodeH265QpKHRwith the given segment allocator.static VkVideoEncodeH265QpKHRalloc(SegmentAllocator allocator, long count) Allocates aVkVideoEncodeH265QpKHRwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkVideoEncodeH265QpKHR.asSlice(long index, long count) Creates a slice ofVkVideoEncodeH265QpKHR.at(long index, Consumer<VkVideoEncodeH265QpKHR> func) VisitsVkVideoEncodeH265QpKHRbuffer at the given index.Copies from the given source.static VkVideoEncodeH265QpKHRof(MemorySegment segment) CreatesVkVideoEncodeH265QpKHRwith the given segment.static VkVideoEncodeH265QpKHRofNative(MemorySegment segment) CreatesVkVideoEncodeH265QpKHRwith the given segment.static VkVideoEncodeH265QpKHRofNative(MemorySegment segment, long count) CreatesVkVideoEncodeH265QpKHRwith the given segment.intqpB()ReturnsqpB.qpB(int value) SetsqpBwith the given value.static intqpB(MemorySegment segment, long index) ReturnsqpBat the given index.static voidqpB(MemorySegment segment, long index, int value) SetsqpBwith the given value at the given index.intqpBAt(long index) ReturnsqpBat the given index.qpBAt(long index, int value) SetsqpBwith the given value at the given index.intqpI()ReturnsqpI.qpI(int value) SetsqpIwith the given value.static intqpI(MemorySegment segment, long index) ReturnsqpIat the given index.static voidqpI(MemorySegment segment, long index, int value) SetsqpIwith the given value at the given index.intqpIAt(long index) ReturnsqpIat the given index.qpIAt(long index, int value) SetsqpIwith the given value at the given index.intqpP()ReturnsqpP.qpP(int value) SetsqpPwith the given value.static intqpP(MemorySegment segment, long index) ReturnsqpPat the given index.static voidqpP(MemorySegment segment, long index, int value) SetsqpPwith the given value at the given index.intqpPAt(long index) ReturnsqpPat the given index.qpPAt(long index, int value) SetsqpPwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.Methods inherited from class 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
CreatesVkVideoEncodeH265QpKHRwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkVideoEncodeH265QpKHRwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkVideoEncodeH265QpKHRwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkVideoEncodeH265QpKHRwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkVideoEncodeH265QpKHRwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkVideoEncodeH265QpKHR
-
alloc
Allocates aVkVideoEncodeH265QpKHRwith 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
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count- the new count- Returns:
- the reinterpreted buffer
-
qpI
ReturnsqpIat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
qpIat the given index
-
qpI
public int qpI()ReturnsqpI.- Returns:
qpI
-
qpI
SetsqpIwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
qpI
SetsqpIwith the given value.- Parameters:
value- the value- Returns:
this
-
qpP
ReturnsqpPat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
qpPat the given index
-
qpP
public int qpP()ReturnsqpP.- Returns:
qpP
-
qpP
SetsqpPwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
qpP
SetsqpPwith the given value.- Parameters:
value- the value- Returns:
this
-
qpB
ReturnsqpBat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
qpBat the given index
-
qpB
public int qpB()ReturnsqpB.- Returns:
qpB
-
qpB
SetsqpBwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
qpB
SetsqpBwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkVideoEncodeH265QpKHR.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkVideoEncodeH265QpKHR
-
asSlice
Creates a slice ofVkVideoEncodeH265QpKHR.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkVideoEncodeH265QpKHR
-
at
VisitsVkVideoEncodeH265QpKHRbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
qpIAt
public int qpIAt(long index) ReturnsqpIat the given index.- Parameters:
index- the index of the struct buffer- Returns:
qpIat the given index
-
qpIAt
SetsqpIwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
qpPAt
public int qpPAt(long index) ReturnsqpPat the given index.- Parameters:
index- the index of the struct buffer- Returns:
qpPat the given index
-
qpPAt
SetsqpPwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
qpBAt
public int qpBAt(long index) ReturnsqpBat the given index.- Parameters:
index- the index of the struct buffer- Returns:
qpBat the given index
-
qpBAt
SetsqpBwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-