Class VkVideoEncodeH265FrameSizeKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH265FrameSizeKHR
- All Implemented Interfaces:
Addressable
Represents VkVideoEncodeH265FrameSizeKHR.
Layout
struct VkVideoEncodeH265FrameSizeKHR {
uint32_t frameISize;
uint32_t framePSize;
uint32_t frameBSize;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkVideoEncodeH265FrameSizeKHR.static final MemoryLayoutThe memory layout offrameBSize.static final MemoryLayoutThe memory layout offrameISize.static final MemoryLayoutThe memory layout offramePSize.static final longThe byte offset offrameBSize.static final longThe byte offset offrameISize.static final longThe byte offset offramePSize.static final VarHandlestatic final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeH265FrameSizeKHR(MemorySegment segment, long elementCount) CreatesVkVideoEncodeH265FrameSizeKHRwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkVideoEncodeH265FrameSizeKHRwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkVideoEncodeH265FrameSizeKHRwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkVideoEncodeH265FrameSizeKHR.asSlice(long index, long count) Creates a slice ofVkVideoEncodeH265FrameSizeKHR.at(long index, Consumer<VkVideoEncodeH265FrameSizeKHR> func) VisitsVkVideoEncodeH265FrameSizeKHRbuffer at the given index.Copies from the given source.intReturnsframeBSize.frameBSize(int value) SetsframeBSizewith the given value.static intframeBSize(MemorySegment segment, long index) ReturnsframeBSizeat the given index.static voidframeBSize(MemorySegment segment, long index, int value) SetsframeBSizewith the given value at the given index.intframeBSizeAt(long index) ReturnsframeBSizeat the given index.frameBSizeAt(long index, int value) SetsframeBSizewith the given value at the given index.intReturnsframeISize.frameISize(int value) SetsframeISizewith the given value.static intframeISize(MemorySegment segment, long index) ReturnsframeISizeat the given index.static voidframeISize(MemorySegment segment, long index, int value) SetsframeISizewith the given value at the given index.intframeISizeAt(long index) ReturnsframeISizeat the given index.frameISizeAt(long index, int value) SetsframeISizewith the given value at the given index.intReturnsframePSize.framePSize(int value) SetsframePSizewith the given value.static intframePSize(MemorySegment segment, long index) ReturnsframePSizeat the given index.static voidframePSize(MemorySegment segment, long index, int value) SetsframePSizewith the given value at the given index.intframePSizeAt(long index) ReturnsframePSizeat the given index.framePSizeAt(long index, int value) SetsframePSizewith the given value at the given index.of(MemorySegment segment) CreatesVkVideoEncodeH265FrameSizeKHRwith the given segment.ofNative(MemorySegment segment) CreatesVkVideoEncodeH265FrameSizeKHRwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkVideoEncodeH265FrameSizeKHRwith the given segment.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 ofVkVideoEncodeH265FrameSizeKHR. -
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
-
VkVideoEncodeH265FrameSizeKHR
CreatesVkVideoEncodeH265FrameSizeKHRwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkVideoEncodeH265FrameSizeKHRwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkVideoEncodeH265FrameSizeKHRwith 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
VkVideoEncodeH265FrameSizeKHRwith 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 aVkVideoEncodeH265FrameSizeKHRwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkVideoEncodeH265FrameSizeKHR
-
alloc
Allocates aVkVideoEncodeH265FrameSizeKHRwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkVideoEncodeH265FrameSizeKHR
-
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
-
frameISize
ReturnsframeISizeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
frameISizeat the given index
-
frameISize
public int frameISize()ReturnsframeISize.- Returns:
frameISize
-
frameISize
SetsframeISizewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
frameISize
SetsframeISizewith the given value.- Parameters:
value- the value- Returns:
this
-
framePSize
ReturnsframePSizeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
framePSizeat the given index
-
framePSize
public int framePSize()ReturnsframePSize.- Returns:
framePSize
-
framePSize
SetsframePSizewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
framePSize
SetsframePSizewith the given value.- Parameters:
value- the value- Returns:
this
-
frameBSize
ReturnsframeBSizeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
frameBSizeat the given index
-
frameBSize
public int frameBSize()ReturnsframeBSize.- Returns:
frameBSize
-
frameBSize
SetsframeBSizewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
frameBSize
SetsframeBSizewith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkVideoEncodeH265FrameSizeKHR.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkVideoEncodeH265FrameSizeKHR
-
asSlice
Creates a slice ofVkVideoEncodeH265FrameSizeKHR.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkVideoEncodeH265FrameSizeKHR
-
at
VisitsVkVideoEncodeH265FrameSizeKHRbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
frameISizeAt
public int frameISizeAt(long index) ReturnsframeISizeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
frameISizeat the given index
-
frameISizeAt
SetsframeISizewith 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) ReturnsframePSizeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
framePSizeat the given index
-
framePSizeAt
SetsframePSizewith 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) ReturnsframeBSizeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
frameBSizeat the given index
-
frameBSizeAt
SetsframeBSizewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-