Package org.lwjgl.vulkan
Class VkVideoSessionCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoSessionCreateInfoKHR,VkVideoSessionCreateInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkVideoSessionCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoSessionCreateInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoSessionCreateInfoKHR
public static class VkVideoSessionCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkVideoSessionCreateInfoKHR,VkVideoSessionCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoSessionCreateInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoSessionCreateInfoKHR.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 byVkVideoSessionCreateInfoKHR.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
VkVideoSessionCreateInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoSessionCreateInfoKHR.pNext()field.
-
queueFamilyIndex
public int queueFamilyIndex()
- Returns:
- the value of the
VkVideoSessionCreateInfoKHR.queueFamilyIndex()field.
-
flags
public int flags()
- Returns:
- the value of the
VkVideoSessionCreateInfoKHR.flags()field.
-
pVideoProfile
public VkVideoProfileKHR pVideoProfile()
- Returns:
- a
VkVideoProfileKHRview of the struct pointed to by theVkVideoSessionCreateInfoKHR.pVideoProfile()field.
-
pictureFormat
public int pictureFormat()
- Returns:
- the value of the
VkVideoSessionCreateInfoKHR.pictureFormat()field.
-
maxCodedExtent
public VkExtent2D maxCodedExtent()
- Returns:
- a
VkExtent2Dview of theVkVideoSessionCreateInfoKHR.maxCodedExtent()field.
-
referencePicturesFormat
public int referencePicturesFormat()
- Returns:
- the value of the
VkVideoSessionCreateInfoKHR.referencePicturesFormat()field.
-
maxReferencePicturesSlotsCount
public int maxReferencePicturesSlotsCount()
- Returns:
- the value of the
VkVideoSessionCreateInfoKHR.maxReferencePicturesSlotsCount()field.
-
maxReferencePicturesActiveCount
public int maxReferencePicturesActiveCount()
- Returns:
- the value of the
VkVideoSessionCreateInfoKHR.maxReferencePicturesActiveCount()field.
-
sType
public VkVideoSessionCreateInfoKHR.Buffer sType(int value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.sType()field.
-
sType$Default
public VkVideoSessionCreateInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHRvalue to theVkVideoSessionCreateInfoKHR.sType()field.
-
pNext
public VkVideoSessionCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.pNext()field.
-
pNext
public VkVideoSessionCreateInfoKHR.Buffer pNext(VkVideoDecodeH264SessionCreateInfoEXT value)
Prepends the specifiedVkVideoDecodeH264SessionCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoSessionCreateInfoKHR.Buffer pNext(VkVideoDecodeH265SessionCreateInfoEXT value)
Prepends the specifiedVkVideoDecodeH265SessionCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoSessionCreateInfoKHR.Buffer pNext(VkVideoEncodeH264SessionCreateInfoEXT value)
Prepends the specifiedVkVideoEncodeH264SessionCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoSessionCreateInfoKHR.Buffer pNext(VkVideoEncodeH265SessionCreateInfoEXT value)
Prepends the specifiedVkVideoEncodeH265SessionCreateInfoEXTvalue to thepNextchain.
-
queueFamilyIndex
public VkVideoSessionCreateInfoKHR.Buffer queueFamilyIndex(int value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.queueFamilyIndex()field.
-
flags
public VkVideoSessionCreateInfoKHR.Buffer flags(int value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.flags()field.
-
pVideoProfile
public VkVideoSessionCreateInfoKHR.Buffer pVideoProfile(VkVideoProfileKHR value)
Sets the address of the specifiedVkVideoProfileKHRto theVkVideoSessionCreateInfoKHR.pVideoProfile()field.
-
pictureFormat
public VkVideoSessionCreateInfoKHR.Buffer pictureFormat(int value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.pictureFormat()field.
-
maxCodedExtent
public VkVideoSessionCreateInfoKHR.Buffer maxCodedExtent(VkExtent2D value)
Copies the specifiedVkExtent2Dto theVkVideoSessionCreateInfoKHR.maxCodedExtent()field.
-
maxCodedExtent
public VkVideoSessionCreateInfoKHR.Buffer maxCodedExtent(java.util.function.Consumer<VkExtent2D> consumer)
Passes theVkVideoSessionCreateInfoKHR.maxCodedExtent()field to the specifiedConsumer.
-
referencePicturesFormat
public VkVideoSessionCreateInfoKHR.Buffer referencePicturesFormat(int value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.referencePicturesFormat()field.
-
maxReferencePicturesSlotsCount
public VkVideoSessionCreateInfoKHR.Buffer maxReferencePicturesSlotsCount(int value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.maxReferencePicturesSlotsCount()field.
-
maxReferencePicturesActiveCount
public VkVideoSessionCreateInfoKHR.Buffer maxReferencePicturesActiveCount(int value)
Sets the specified value to theVkVideoSessionCreateInfoKHR.maxReferencePicturesActiveCount()field.
-
-