Package org.lwjgl.vulkan
Class VkVideoProfileKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoProfileKHR,VkVideoProfileKHR.Buffer>
-
- org.lwjgl.vulkan.VkVideoProfileKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoProfileKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoProfileKHR
public static class VkVideoProfileKHR.Buffer extends org.lwjgl.system.StructBuffer<VkVideoProfileKHR,VkVideoProfileKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoProfileKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoProfileKHR.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 byVkVideoProfileKHR.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
VkVideoProfileKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoProfileKHR.pNext()field.
-
videoCodecOperation
public int videoCodecOperation()
- Returns:
- the value of the
VkVideoProfileKHR.videoCodecOperation()field.
-
chromaSubsampling
public int chromaSubsampling()
- Returns:
- the value of the
VkVideoProfileKHR.chromaSubsampling()field.
-
lumaBitDepth
public int lumaBitDepth()
- Returns:
- the value of the
VkVideoProfileKHR.lumaBitDepth()field.
-
chromaBitDepth
public int chromaBitDepth()
- Returns:
- the value of the
VkVideoProfileKHR.chromaBitDepth()field.
-
sType
public VkVideoProfileKHR.Buffer sType(int value)
Sets the specified value to theVkVideoProfileKHR.sType()field.
-
sType$Default
public VkVideoProfileKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_PROFILE_KHRvalue to theVkVideoProfileKHR.sType()field.
-
pNext
public VkVideoProfileKHR.Buffer pNext(long value)
Sets the specified value to theVkVideoProfileKHR.pNext()field.
-
pNext
public VkVideoProfileKHR.Buffer pNext(VkVideoDecodeH264ProfileEXT value)
Prepends the specifiedVkVideoDecodeH264ProfileEXTvalue to thepNextchain.
-
pNext
public VkVideoProfileKHR.Buffer pNext(VkVideoDecodeH265ProfileEXT value)
Prepends the specifiedVkVideoDecodeH265ProfileEXTvalue to thepNextchain.
-
pNext
public VkVideoProfileKHR.Buffer pNext(VkVideoEncodeH264ProfileEXT value)
Prepends the specifiedVkVideoEncodeH264ProfileEXTvalue to thepNextchain.
-
pNext
public VkVideoProfileKHR.Buffer pNext(VkVideoEncodeH265ProfileEXT value)
Prepends the specifiedVkVideoEncodeH265ProfileEXTvalue to thepNextchain.
-
videoCodecOperation
public VkVideoProfileKHR.Buffer videoCodecOperation(int value)
Sets the specified value to theVkVideoProfileKHR.videoCodecOperation()field.
-
chromaSubsampling
public VkVideoProfileKHR.Buffer chromaSubsampling(int value)
Sets the specified value to theVkVideoProfileKHR.chromaSubsampling()field.
-
lumaBitDepth
public VkVideoProfileKHR.Buffer lumaBitDepth(int value)
Sets the specified value to theVkVideoProfileKHR.lumaBitDepth()field.
-
chromaBitDepth
public VkVideoProfileKHR.Buffer chromaBitDepth(int value)
Sets the specified value to theVkVideoProfileKHR.chromaBitDepth()field.
-
-