Package org.lwjgl.vulkan
Class VkVideoCapabilitiesKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoCapabilitiesKHR,VkVideoCapabilitiesKHR.Buffer>
-
- org.lwjgl.vulkan.VkVideoCapabilitiesKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoCapabilitiesKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoCapabilitiesKHR
public static class VkVideoCapabilitiesKHR.Buffer extends org.lwjgl.system.StructBuffer<VkVideoCapabilitiesKHR,VkVideoCapabilitiesKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoCapabilitiesKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoCapabilitiesKHR.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 byVkVideoCapabilitiesKHR.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
VkVideoCapabilitiesKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoCapabilitiesKHR.pNext()field.
-
capabilityFlags
public int capabilityFlags()
- Returns:
- the value of the
VkVideoCapabilitiesKHR.capabilityFlags()field.
-
minBitstreamBufferOffsetAlignment
public long minBitstreamBufferOffsetAlignment()
- Returns:
- the value of the
VkVideoCapabilitiesKHR.minBitstreamBufferOffsetAlignment()field.
-
minBitstreamBufferSizeAlignment
public long minBitstreamBufferSizeAlignment()
- Returns:
- the value of the
VkVideoCapabilitiesKHR.minBitstreamBufferSizeAlignment()field.
-
videoPictureExtentGranularity
public VkExtent2D videoPictureExtentGranularity()
- Returns:
- a
VkExtent2Dview of theVkVideoCapabilitiesKHR.videoPictureExtentGranularity()field.
-
minExtent
public VkExtent2D minExtent()
- Returns:
- a
VkExtent2Dview of theVkVideoCapabilitiesKHR.minExtent()field.
-
maxExtent
public VkExtent2D maxExtent()
- Returns:
- a
VkExtent2Dview of theVkVideoCapabilitiesKHR.maxExtent()field.
-
maxReferencePicturesSlotsCount
public int maxReferencePicturesSlotsCount()
- Returns:
- the value of the
VkVideoCapabilitiesKHR.maxReferencePicturesSlotsCount()field.
-
maxReferencePicturesActiveCount
public int maxReferencePicturesActiveCount()
- Returns:
- the value of the
VkVideoCapabilitiesKHR.maxReferencePicturesActiveCount()field.
-
sType
public VkVideoCapabilitiesKHR.Buffer sType(int value)
Sets the specified value to theVkVideoCapabilitiesKHR.sType()field.
-
sType$Default
public VkVideoCapabilitiesKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_CAPABILITIES_KHRvalue to theVkVideoCapabilitiesKHR.sType()field.
-
pNext
public VkVideoCapabilitiesKHR.Buffer pNext(long value)
Sets the specified value to theVkVideoCapabilitiesKHR.pNext()field.
-
pNext
public VkVideoCapabilitiesKHR.Buffer pNext(VkVideoDecodeH264CapabilitiesEXT value)
Prepends the specifiedVkVideoDecodeH264CapabilitiesEXTvalue to thepNextchain.
-
pNext
public VkVideoCapabilitiesKHR.Buffer pNext(VkVideoDecodeH265CapabilitiesEXT value)
Prepends the specifiedVkVideoDecodeH265CapabilitiesEXTvalue to thepNextchain.
-
pNext
public VkVideoCapabilitiesKHR.Buffer pNext(VkVideoEncodeCapabilitiesKHR value)
Prepends the specifiedVkVideoEncodeCapabilitiesKHRvalue to thepNextchain.
-
-