Package org.lwjgl.vulkan
Class VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoEncodeH265RateControlLayerInfoEXT,VkVideoEncodeH265RateControlLayerInfoEXT.Buffer>
-
- org.lwjgl.vulkan.VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoEncodeH265RateControlLayerInfoEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoEncodeH265RateControlLayerInfoEXT
public static class VkVideoEncodeH265RateControlLayerInfoEXT.Buffer extends org.lwjgl.system.StructBuffer<VkVideoEncodeH265RateControlLayerInfoEXT,VkVideoEncodeH265RateControlLayerInfoEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoEncodeH265RateControlLayerInfoEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoEncodeH265RateControlLayerInfoEXT.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 byVkVideoEncodeH265RateControlLayerInfoEXT.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
-
sType
public int sType()
- Returns:
- the value of the
VkVideoEncodeH265RateControlLayerInfoEXT.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoEncodeH265RateControlLayerInfoEXT.pNext()field.
-
temporalId
public byte temporalId()
- Returns:
- the value of the
VkVideoEncodeH265RateControlLayerInfoEXT.temporalId()field.
-
useInitialRcQp
public boolean useInitialRcQp()
- Returns:
- the value of the
VkVideoEncodeH265RateControlLayerInfoEXT.useInitialRcQp()field.
-
initialRcQp
public VkVideoEncodeH265QpEXT initialRcQp()
- Returns:
- a
VkVideoEncodeH265QpEXTview of theVkVideoEncodeH265RateControlLayerInfoEXT.initialRcQp()field.
-
useMinQp
public boolean useMinQp()
- Returns:
- the value of the
VkVideoEncodeH265RateControlLayerInfoEXT.useMinQp()field.
-
minQp
public VkVideoEncodeH265QpEXT minQp()
- Returns:
- a
VkVideoEncodeH265QpEXTview of theVkVideoEncodeH265RateControlLayerInfoEXT.minQp()field.
-
useMaxQp
public boolean useMaxQp()
- Returns:
- the value of the
VkVideoEncodeH265RateControlLayerInfoEXT.useMaxQp()field.
-
maxQp
public VkVideoEncodeH265QpEXT maxQp()
- Returns:
- a
VkVideoEncodeH265QpEXTview of theVkVideoEncodeH265RateControlLayerInfoEXT.maxQp()field.
-
useMaxFrameSize
public boolean useMaxFrameSize()
- Returns:
- the value of the
VkVideoEncodeH265RateControlLayerInfoEXT.useMaxFrameSize()field.
-
maxFrameSize
public VkVideoEncodeH265FrameSizeEXT maxFrameSize()
- Returns:
- a
VkVideoEncodeH265FrameSizeEXTview of theVkVideoEncodeH265RateControlLayerInfoEXT.maxFrameSize()field.
-
sType
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer sType(int value)
Sets the specified value to theVkVideoEncodeH265RateControlLayerInfoEXT.sType()field.
-
sType$Default
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXTvalue to theVkVideoEncodeH265RateControlLayerInfoEXT.sType()field.
-
pNext
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer pNext(long value)
Sets the specified value to theVkVideoEncodeH265RateControlLayerInfoEXT.pNext()field.
-
temporalId
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer temporalId(byte value)
Sets the specified value to theVkVideoEncodeH265RateControlLayerInfoEXT.temporalId()field.
-
useInitialRcQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer useInitialRcQp(boolean value)
Sets the specified value to theVkVideoEncodeH265RateControlLayerInfoEXT.useInitialRcQp()field.
-
initialRcQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer initialRcQp(VkVideoEncodeH265QpEXT value)
Copies the specifiedVkVideoEncodeH265QpEXTto theVkVideoEncodeH265RateControlLayerInfoEXT.initialRcQp()field.
-
initialRcQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer initialRcQp(java.util.function.Consumer<VkVideoEncodeH265QpEXT> consumer)
Passes theVkVideoEncodeH265RateControlLayerInfoEXT.initialRcQp()field to the specifiedConsumer.
-
useMinQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer useMinQp(boolean value)
Sets the specified value to theVkVideoEncodeH265RateControlLayerInfoEXT.useMinQp()field.
-
minQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer minQp(VkVideoEncodeH265QpEXT value)
Copies the specifiedVkVideoEncodeH265QpEXTto theVkVideoEncodeH265RateControlLayerInfoEXT.minQp()field.
-
minQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer minQp(java.util.function.Consumer<VkVideoEncodeH265QpEXT> consumer)
Passes theVkVideoEncodeH265RateControlLayerInfoEXT.minQp()field to the specifiedConsumer.
-
useMaxQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer useMaxQp(boolean value)
Sets the specified value to theVkVideoEncodeH265RateControlLayerInfoEXT.useMaxQp()field.
-
maxQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer maxQp(VkVideoEncodeH265QpEXT value)
Copies the specifiedVkVideoEncodeH265QpEXTto theVkVideoEncodeH265RateControlLayerInfoEXT.maxQp()field.
-
maxQp
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer maxQp(java.util.function.Consumer<VkVideoEncodeH265QpEXT> consumer)
Passes theVkVideoEncodeH265RateControlLayerInfoEXT.maxQp()field to the specifiedConsumer.
-
useMaxFrameSize
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer useMaxFrameSize(boolean value)
Sets the specified value to theVkVideoEncodeH265RateControlLayerInfoEXT.useMaxFrameSize()field.
-
maxFrameSize
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer maxFrameSize(VkVideoEncodeH265FrameSizeEXT value)
Copies the specifiedVkVideoEncodeH265FrameSizeEXTto theVkVideoEncodeH265RateControlLayerInfoEXT.maxFrameSize()field.
-
maxFrameSize
public VkVideoEncodeH265RateControlLayerInfoEXT.Buffer maxFrameSize(java.util.function.Consumer<VkVideoEncodeH265FrameSizeEXT> consumer)
Passes theVkVideoEncodeH265RateControlLayerInfoEXT.maxFrameSize()field to the specifiedConsumer.
-
-