Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265ReferenceModifications.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoEncodeH265ReferenceModifications,StdVideoEncodeH265ReferenceModifications.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265ReferenceModifications.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoEncodeH265ReferenceModifications>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoEncodeH265ReferenceModifications
public static class StdVideoEncodeH265ReferenceModifications.Buffer extends org.lwjgl.system.StructBuffer<StdVideoEncodeH265ReferenceModifications,StdVideoEncodeH265ReferenceModifications.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoEncodeH265ReferenceModificationsstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoEncodeH265ReferenceModifications.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 byStdVideoEncodeH265ReferenceModifications.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
-
flags
public StdVideoEncodeH265ReferenceModificationFlags flags()
- Returns:
- a
StdVideoEncodeH265ReferenceModificationFlagsview of theflagsfield.
-
referenceList0ModificationsCount
public byte referenceList0ModificationsCount()
- Returns:
- the value of the
StdVideoEncodeH265ReferenceModifications.referenceList0ModificationsCount()field.
-
pReferenceList0Modifications
public java.nio.ByteBuffer pReferenceList0Modifications(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
ByteBufferview of the data pointed to by theStdVideoEncodeH265ReferenceModifications.pReferenceList0Modifications(int)field.
-
referenceList1ModificationsCount
public byte referenceList1ModificationsCount()
- Returns:
- the value of the
StdVideoEncodeH265ReferenceModifications.referenceList1ModificationsCount()field.
-
pReferenceList1Modifications
public java.nio.ByteBuffer pReferenceList1Modifications(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
ByteBufferview of the data pointed to by theStdVideoEncodeH265ReferenceModifications.pReferenceList1Modifications(int)field.
-
flags
public StdVideoEncodeH265ReferenceModifications.Buffer flags(StdVideoEncodeH265ReferenceModificationFlags value)
Copies the specifiedStdVideoEncodeH265ReferenceModificationFlagsto theflagsfield.
-
flags
public StdVideoEncodeH265ReferenceModifications.Buffer flags(java.util.function.Consumer<StdVideoEncodeH265ReferenceModificationFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
referenceList0ModificationsCount
public StdVideoEncodeH265ReferenceModifications.Buffer referenceList0ModificationsCount(byte value)
Sets the specified value to theStdVideoEncodeH265ReferenceModifications.referenceList0ModificationsCount()field.
-
pReferenceList0Modifications
public StdVideoEncodeH265ReferenceModifications.Buffer pReferenceList0Modifications(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto theStdVideoEncodeH265ReferenceModifications.pReferenceList0Modifications(int)field.
-
referenceList1ModificationsCount
public StdVideoEncodeH265ReferenceModifications.Buffer referenceList1ModificationsCount(byte value)
Sets the specified value to theStdVideoEncodeH265ReferenceModifications.referenceList1ModificationsCount()field.
-
pReferenceList1Modifications
public StdVideoEncodeH265ReferenceModifications.Buffer pReferenceList1Modifications(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto theStdVideoEncodeH265ReferenceModifications.pReferenceList1Modifications(int)field.
-
-