Package org.lwjgl.vulkan
Class VkVideoPictureResourceKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoPictureResourceKHR,VkVideoPictureResourceKHR.Buffer>
-
- org.lwjgl.vulkan.VkVideoPictureResourceKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoPictureResourceKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoPictureResourceKHR
public static class VkVideoPictureResourceKHR.Buffer extends org.lwjgl.system.StructBuffer<VkVideoPictureResourceKHR,VkVideoPictureResourceKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoPictureResourceKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoPictureResourceKHR.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 byVkVideoPictureResourceKHR.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
VkVideoPictureResourceKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoPictureResourceKHR.pNext()field.
-
codedOffset
public VkOffset2D codedOffset()
- Returns:
- a
VkOffset2Dview of theVkVideoPictureResourceKHR.codedOffset()field.
-
codedExtent
public VkExtent2D codedExtent()
- Returns:
- a
VkExtent2Dview of theVkVideoPictureResourceKHR.codedExtent()field.
-
baseArrayLayer
public int baseArrayLayer()
- Returns:
- the value of the
VkVideoPictureResourceKHR.baseArrayLayer()field.
-
imageViewBinding
public long imageViewBinding()
- Returns:
- the value of the
VkVideoPictureResourceKHR.imageViewBinding()field.
-
sType
public VkVideoPictureResourceKHR.Buffer sType(int value)
Sets the specified value to theVkVideoPictureResourceKHR.sType()field.
-
sType$Default
public VkVideoPictureResourceKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_KHRvalue to theVkVideoPictureResourceKHR.sType()field.
-
pNext
public VkVideoPictureResourceKHR.Buffer pNext(long value)
Sets the specified value to theVkVideoPictureResourceKHR.pNext()field.
-
codedOffset
public VkVideoPictureResourceKHR.Buffer codedOffset(VkOffset2D value)
Copies the specifiedVkOffset2Dto theVkVideoPictureResourceKHR.codedOffset()field.
-
codedOffset
public VkVideoPictureResourceKHR.Buffer codedOffset(java.util.function.Consumer<VkOffset2D> consumer)
Passes theVkVideoPictureResourceKHR.codedOffset()field to the specifiedConsumer.
-
codedExtent
public VkVideoPictureResourceKHR.Buffer codedExtent(VkExtent2D value)
Copies the specifiedVkExtent2Dto theVkVideoPictureResourceKHR.codedExtent()field.
-
codedExtent
public VkVideoPictureResourceKHR.Buffer codedExtent(java.util.function.Consumer<VkExtent2D> consumer)
Passes theVkVideoPictureResourceKHR.codedExtent()field to the specifiedConsumer.
-
baseArrayLayer
public VkVideoPictureResourceKHR.Buffer baseArrayLayer(int value)
Sets the specified value to theVkVideoPictureResourceKHR.baseArrayLayer()field.
-
imageViewBinding
public VkVideoPictureResourceKHR.Buffer imageViewBinding(long value)
Sets the specified value to theVkVideoPictureResourceKHR.imageViewBinding()field.
-
-