Package org.lwjgl.vulkan
Class VkVideoEncodeRateControlInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoEncodeRateControlInfoKHR,VkVideoEncodeRateControlInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkVideoEncodeRateControlInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoEncodeRateControlInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoEncodeRateControlInfoKHR
public static class VkVideoEncodeRateControlInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkVideoEncodeRateControlInfoKHR,VkVideoEncodeRateControlInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoEncodeRateControlInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoEncodeRateControlInfoKHR.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 byVkVideoEncodeRateControlInfoKHR.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
VkVideoEncodeRateControlInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoEncodeRateControlInfoKHR.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkVideoEncodeRateControlInfoKHR.flags()field.
-
rateControlMode
public int rateControlMode()
- Returns:
- the value of the
VkVideoEncodeRateControlInfoKHR.rateControlMode()field.
-
layerCount
public byte layerCount()
- Returns:
- the value of the
VkVideoEncodeRateControlInfoKHR.layerCount()field.
-
pLayerConfigs
public VkVideoEncodeRateControlLayerInfoKHR.Buffer pLayerConfigs()
- Returns:
- a
VkVideoEncodeRateControlLayerInfoKHR.Bufferview of the struct array pointed to by theVkVideoEncodeRateControlInfoKHR.pLayerConfigs()field.
-
sType
public VkVideoEncodeRateControlInfoKHR.Buffer sType(int value)
Sets the specified value to theVkVideoEncodeRateControlInfoKHR.sType()field.
-
sType$Default
public VkVideoEncodeRateControlInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRvalue to theVkVideoEncodeRateControlInfoKHR.sType()field.
-
pNext
public VkVideoEncodeRateControlInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkVideoEncodeRateControlInfoKHR.pNext()field.
-
pNext
public VkVideoEncodeRateControlInfoKHR.Buffer pNext(VkVideoEncodeH264RateControlInfoEXT value)
Prepends the specifiedVkVideoEncodeH264RateControlInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoEncodeRateControlInfoKHR.Buffer pNext(VkVideoEncodeH265RateControlInfoEXT value)
Prepends the specifiedVkVideoEncodeH265RateControlInfoEXTvalue to thepNextchain.
-
flags
public VkVideoEncodeRateControlInfoKHR.Buffer flags(int value)
Sets the specified value to theVkVideoEncodeRateControlInfoKHR.flags()field.
-
rateControlMode
public VkVideoEncodeRateControlInfoKHR.Buffer rateControlMode(int value)
Sets the specified value to theVkVideoEncodeRateControlInfoKHR.rateControlMode()field.
-
pLayerConfigs
public VkVideoEncodeRateControlInfoKHR.Buffer pLayerConfigs(VkVideoEncodeRateControlLayerInfoKHR.Buffer value)
Sets the address of the specifiedVkVideoEncodeRateControlLayerInfoKHR.Bufferto theVkVideoEncodeRateControlInfoKHR.pLayerConfigs()field.
-
-