Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265ReferenceInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoEncodeH265ReferenceInfo,StdVideoEncodeH265ReferenceInfo.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265ReferenceInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoEncodeH265ReferenceInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoEncodeH265ReferenceInfo
public static class StdVideoEncodeH265ReferenceInfo.Buffer extends org.lwjgl.system.StructBuffer<StdVideoEncodeH265ReferenceInfo,StdVideoEncodeH265ReferenceInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoEncodeH265ReferenceInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StdVideoEncodeH265ReferenceInfoFlagsflags()StdVideoEncodeH265ReferenceInfo.Bufferflags(java.util.function.Consumer<StdVideoEncodeH265ReferenceInfoFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoEncodeH265ReferenceInfo.Bufferflags(StdVideoEncodeH265ReferenceInfoFlags value)Copies the specifiedStdVideoEncodeH265ReferenceInfoFlagsto theflagsfield.intPicOrderCntVal()StdVideoEncodeH265ReferenceInfo.BufferPicOrderCntVal(int value)Sets the specified value to thePicOrderCntValfield.byteTemporalId()StdVideoEncodeH265ReferenceInfo.BufferTemporalId(byte value)Sets the specified value to theTemporalIdfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoEncodeH265ReferenceInfo.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byStdVideoEncodeH265ReferenceInfo.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
PicOrderCntVal
public int PicOrderCntVal()
- Returns:
- the value of the
PicOrderCntValfield.
-
TemporalId
public byte TemporalId()
- Returns:
- the value of the
TemporalIdfield.
-
flags
public StdVideoEncodeH265ReferenceInfoFlags flags()
- Returns:
- a
StdVideoEncodeH265ReferenceInfoFlagsview of theflagsfield.
-
PicOrderCntVal
public StdVideoEncodeH265ReferenceInfo.Buffer PicOrderCntVal(int value)
Sets the specified value to thePicOrderCntValfield.
-
TemporalId
public StdVideoEncodeH265ReferenceInfo.Buffer TemporalId(byte value)
Sets the specified value to theTemporalIdfield.
-
flags
public StdVideoEncodeH265ReferenceInfo.Buffer flags(StdVideoEncodeH265ReferenceInfoFlags value)
Copies the specifiedStdVideoEncodeH265ReferenceInfoFlagsto theflagsfield.
-
flags
public StdVideoEncodeH265ReferenceInfo.Buffer flags(java.util.function.Consumer<StdVideoEncodeH265ReferenceInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
-