Package org.lwjgl.vulkan
Class VkVideoEncodeH264RateControlInfoEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoEncodeH264RateControlInfoEXT,VkVideoEncodeH264RateControlInfoEXT.Buffer>
-
- org.lwjgl.vulkan.VkVideoEncodeH264RateControlInfoEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoEncodeH264RateControlInfoEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoEncodeH264RateControlInfoEXT
public static class VkVideoEncodeH264RateControlInfoEXT.Buffer extends org.lwjgl.system.StructBuffer<VkVideoEncodeH264RateControlInfoEXT,VkVideoEncodeH264RateControlInfoEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoEncodeH264RateControlInfoEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoEncodeH264RateControlInfoEXT.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 byVkVideoEncodeH264RateControlInfoEXT.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
VkVideoEncodeH264RateControlInfoEXT.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoEncodeH264RateControlInfoEXT.pNext()field.
-
gopFrameCount
public int gopFrameCount()
- Returns:
- the value of the
VkVideoEncodeH264RateControlInfoEXT.gopFrameCount()field.
-
idrPeriod
public int idrPeriod()
- Returns:
- the value of the
VkVideoEncodeH264RateControlInfoEXT.idrPeriod()field.
-
consecutiveBFrameCount
public int consecutiveBFrameCount()
- Returns:
- the value of the
VkVideoEncodeH264RateControlInfoEXT.consecutiveBFrameCount()field.
-
rateControlStructure
public int rateControlStructure()
- Returns:
- the value of the
VkVideoEncodeH264RateControlInfoEXT.rateControlStructure()field.
-
temporalLayerCount
public byte temporalLayerCount()
- Returns:
- the value of the
VkVideoEncodeH264RateControlInfoEXT.temporalLayerCount()field.
-
sType
public VkVideoEncodeH264RateControlInfoEXT.Buffer sType(int value)
Sets the specified value to theVkVideoEncodeH264RateControlInfoEXT.sType()field.
-
sType$Default
public VkVideoEncodeH264RateControlInfoEXT.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_INFO_EXTvalue to theVkVideoEncodeH264RateControlInfoEXT.sType()field.
-
pNext
public VkVideoEncodeH264RateControlInfoEXT.Buffer pNext(long value)
Sets the specified value to theVkVideoEncodeH264RateControlInfoEXT.pNext()field.
-
gopFrameCount
public VkVideoEncodeH264RateControlInfoEXT.Buffer gopFrameCount(int value)
Sets the specified value to theVkVideoEncodeH264RateControlInfoEXT.gopFrameCount()field.
-
idrPeriod
public VkVideoEncodeH264RateControlInfoEXT.Buffer idrPeriod(int value)
Sets the specified value to theVkVideoEncodeH264RateControlInfoEXT.idrPeriod()field.
-
consecutiveBFrameCount
public VkVideoEncodeH264RateControlInfoEXT.Buffer consecutiveBFrameCount(int value)
Sets the specified value to theVkVideoEncodeH264RateControlInfoEXT.consecutiveBFrameCount()field.
-
rateControlStructure
public VkVideoEncodeH264RateControlInfoEXT.Buffer rateControlStructure(int value)
Sets the specified value to theVkVideoEncodeH264RateControlInfoEXT.rateControlStructure()field.
-
temporalLayerCount
public VkVideoEncodeH264RateControlInfoEXT.Buffer temporalLayerCount(byte value)
Sets the specified value to theVkVideoEncodeH264RateControlInfoEXT.temporalLayerCount()field.
-
-