Package org.lwjgl.vulkan
Class VkVideoEncodeH264SessionCreateInfoEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoEncodeH264SessionCreateInfoEXT,VkVideoEncodeH264SessionCreateInfoEXT.Buffer>
-
- org.lwjgl.vulkan.VkVideoEncodeH264SessionCreateInfoEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoEncodeH264SessionCreateInfoEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoEncodeH264SessionCreateInfoEXT
public static class VkVideoEncodeH264SessionCreateInfoEXT.Buffer extends org.lwjgl.system.StructBuffer<VkVideoEncodeH264SessionCreateInfoEXT,VkVideoEncodeH264SessionCreateInfoEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoEncodeH264SessionCreateInfoEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoEncodeH264SessionCreateInfoEXT.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 byVkVideoEncodeH264SessionCreateInfoEXT.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
VkVideoEncodeH264SessionCreateInfoEXT.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoEncodeH264SessionCreateInfoEXT.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkVideoEncodeH264SessionCreateInfoEXT.flags()field.
-
maxPictureSizeInMbs
public VkExtent2D maxPictureSizeInMbs()
- Returns:
- a
VkExtent2Dview of theVkVideoEncodeH264SessionCreateInfoEXT.maxPictureSizeInMbs()field.
-
pStdExtensionVersion
public VkExtensionProperties pStdExtensionVersion()
- Returns:
- a
VkExtensionPropertiesview of the struct pointed to by theVkVideoEncodeH264SessionCreateInfoEXT.pStdExtensionVersion()field.
-
sType
public VkVideoEncodeH264SessionCreateInfoEXT.Buffer sType(int value)
Sets the specified value to theVkVideoEncodeH264SessionCreateInfoEXT.sType()field.
-
sType$Default
public VkVideoEncodeH264SessionCreateInfoEXT.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXTvalue to theVkVideoEncodeH264SessionCreateInfoEXT.sType()field.
-
pNext
public VkVideoEncodeH264SessionCreateInfoEXT.Buffer pNext(long value)
Sets the specified value to theVkVideoEncodeH264SessionCreateInfoEXT.pNext()field.
-
flags
public VkVideoEncodeH264SessionCreateInfoEXT.Buffer flags(int value)
Sets the specified value to theVkVideoEncodeH264SessionCreateInfoEXT.flags()field.
-
maxPictureSizeInMbs
public VkVideoEncodeH264SessionCreateInfoEXT.Buffer maxPictureSizeInMbs(VkExtent2D value)
Copies the specifiedVkExtent2Dto theVkVideoEncodeH264SessionCreateInfoEXT.maxPictureSizeInMbs()field.
-
maxPictureSizeInMbs
public VkVideoEncodeH264SessionCreateInfoEXT.Buffer maxPictureSizeInMbs(java.util.function.Consumer<VkExtent2D> consumer)
Passes theVkVideoEncodeH264SessionCreateInfoEXT.maxPictureSizeInMbs()field to the specifiedConsumer.
-
pStdExtensionVersion
public VkVideoEncodeH264SessionCreateInfoEXT.Buffer pStdExtensionVersion(VkExtensionProperties value)
Sets the address of the specifiedVkExtensionPropertiesto theVkVideoEncodeH264SessionCreateInfoEXT.pStdExtensionVersion()field.
-
-