Package org.lwjgl.vulkan
Class VkVideoReferenceSlotKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoReferenceSlotKHR,VkVideoReferenceSlotKHR.Buffer>
-
- org.lwjgl.vulkan.VkVideoReferenceSlotKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoReferenceSlotKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoReferenceSlotKHR
public static class VkVideoReferenceSlotKHR.Buffer extends org.lwjgl.system.StructBuffer<VkVideoReferenceSlotKHR,VkVideoReferenceSlotKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoReferenceSlotKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoReferenceSlotKHR.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 byVkVideoReferenceSlotKHR.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
VkVideoReferenceSlotKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoReferenceSlotKHR.pNext()field.
-
slotIndex
public byte slotIndex()
- Returns:
- the value of the
VkVideoReferenceSlotKHR.slotIndex()field.
-
pPictureResource
public VkVideoPictureResourceKHR pPictureResource()
- Returns:
- a
VkVideoPictureResourceKHRview of the struct pointed to by theVkVideoReferenceSlotKHR.pPictureResource()field.
-
sType
public VkVideoReferenceSlotKHR.Buffer sType(int value)
Sets the specified value to theVkVideoReferenceSlotKHR.sType()field.
-
sType$Default
public VkVideoReferenceSlotKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_KHRvalue to theVkVideoReferenceSlotKHR.sType()field.
-
pNext
public VkVideoReferenceSlotKHR.Buffer pNext(long value)
Sets the specified value to theVkVideoReferenceSlotKHR.pNext()field.
-
pNext
public VkVideoReferenceSlotKHR.Buffer pNext(VkVideoDecodeH264DpbSlotInfoEXT value)
Prepends the specifiedVkVideoDecodeH264DpbSlotInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoReferenceSlotKHR.Buffer pNext(VkVideoDecodeH265DpbSlotInfoEXT value)
Prepends the specifiedVkVideoDecodeH265DpbSlotInfoEXTvalue to thepNextchain.
-
slotIndex
public VkVideoReferenceSlotKHR.Buffer slotIndex(byte value)
Sets the specified value to theVkVideoReferenceSlotKHR.slotIndex()field.
-
pPictureResource
public VkVideoReferenceSlotKHR.Buffer pPictureResource(VkVideoPictureResourceKHR value)
Sets the address of the specifiedVkVideoPictureResourceKHRto theVkVideoReferenceSlotKHR.pPictureResource()field.
-
-