Package org.lwjgl.vulkan
Class VkVideoSessionParametersUpdateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoSessionParametersUpdateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoSessionParametersUpdateInfoKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure to update video session parameters.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkVideoDecodeH264SessionParametersAddInfoEXT,VkVideoDecodeH265SessionParametersAddInfoEXT,VkVideoEncodeH264SessionParametersAddInfoEXT, orVkVideoEncodeH265SessionParametersAddInfoEXT - The
sTypevalue of each struct in thepNextchain must be unique
See Also
UpdateVideoSessionParametersKHRLayout
struct VkVideoSessionParametersUpdateInfoKHR { VkStructureTypesType(); void const *pNext(); uint32_tupdateSequenceCount(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoSessionParametersUpdateInfoKHR.BufferAn array ofVkVideoSessionParametersUpdateInfoKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
UPDATESEQUENCECOUNTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoSessionParametersUpdateInfoKHR(java.nio.ByteBuffer container)Creates aVkVideoSessionParametersUpdateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoSessionParametersUpdateInfoKHRcalloc()Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated withmemCalloc.static VkVideoSessionParametersUpdateInfoKHR.Buffercalloc(int capacity)Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated withmemCalloc.static VkVideoSessionParametersUpdateInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoSessionParametersUpdateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoSessionParametersUpdateInfoKHRcreate()Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated withBufferUtils.static VkVideoSessionParametersUpdateInfoKHR.Buffercreate(int capacity)Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated withBufferUtils.static VkVideoSessionParametersUpdateInfoKHRcreate(long address)Returns a newVkVideoSessionParametersUpdateInfoKHRinstance for the specified memory address.static VkVideoSessionParametersUpdateInfoKHR.Buffercreate(long address, int capacity)Create aVkVideoSessionParametersUpdateInfoKHR.Bufferinstance at the specified memory.static VkVideoSessionParametersUpdateInfoKHRcreateSafe(long address)static VkVideoSessionParametersUpdateInfoKHR.BuffercreateSafe(long address, int capacity)static VkVideoSessionParametersUpdateInfoKHRmalloc()Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated withmemAlloc.static VkVideoSessionParametersUpdateInfoKHR.Buffermalloc(int capacity)Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated withmemAlloc.static VkVideoSessionParametersUpdateInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoSessionParametersUpdateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intnupdateSequenceCount(long struct)Unsafe version ofupdateSequenceCount().static voidnupdateSequenceCount(long struct, int value)Unsafe version ofupdateSequenceCount.longpNext()NULLor a pointer to a structure extending this structure.VkVideoSessionParametersUpdateInfoKHRpNext(long value)Sets the specified value to thepNext()field.VkVideoSessionParametersUpdateInfoKHRpNext(VkVideoDecodeH264SessionParametersAddInfoEXT value)Prepends the specifiedVkVideoDecodeH264SessionParametersAddInfoEXTvalue to thepNextchain.VkVideoSessionParametersUpdateInfoKHRpNext(VkVideoDecodeH265SessionParametersAddInfoEXT value)Prepends the specifiedVkVideoDecodeH265SessionParametersAddInfoEXTvalue to thepNextchain.VkVideoSessionParametersUpdateInfoKHRpNext(VkVideoEncodeH264SessionParametersAddInfoEXT value)Prepends the specifiedVkVideoEncodeH264SessionParametersAddInfoEXTvalue to thepNextchain.VkVideoSessionParametersUpdateInfoKHRpNext(VkVideoEncodeH265SessionParametersAddInfoEXT value)Prepends the specifiedVkVideoEncodeH265SessionParametersAddInfoEXTvalue to thepNextchain.VkVideoSessionParametersUpdateInfoKHRset(int sType, long pNext, int updateSequenceCount)Initializes this struct with the specified values.VkVideoSessionParametersUpdateInfoKHRset(VkVideoSessionParametersUpdateInfoKHR src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoSessionParametersUpdateInfoKHRsType(int value)Sets the specified value to thesType()field.VkVideoSessionParametersUpdateInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHRvalue to thesType()field.intupdateSequenceCount()the sequence number of the object update with parameters, starting from 1 and incrementing the value by one with each subsequent update.VkVideoSessionParametersUpdateInfoKHRupdateSequenceCount(int value)Sets the specified value to theupdateSequenceCount()field.
-
-
-
Constructor Detail
-
VkVideoSessionParametersUpdateInfoKHR
public VkVideoSessionParametersUpdateInfoKHR(java.nio.ByteBuffer container)
Creates aVkVideoSessionParametersUpdateInfoKHRinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
updateSequenceCount
public int updateSequenceCount()
the sequence number of the object update with parameters, starting from 1 and incrementing the value by one with each subsequent update.
-
sType
public VkVideoSessionParametersUpdateInfoKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoSessionParametersUpdateInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHRvalue to thesType()field.
-
pNext
public VkVideoSessionParametersUpdateInfoKHR pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkVideoSessionParametersUpdateInfoKHR pNext(VkVideoDecodeH264SessionParametersAddInfoEXT value)
Prepends the specifiedVkVideoDecodeH264SessionParametersAddInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoSessionParametersUpdateInfoKHR pNext(VkVideoDecodeH265SessionParametersAddInfoEXT value)
Prepends the specifiedVkVideoDecodeH265SessionParametersAddInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoSessionParametersUpdateInfoKHR pNext(VkVideoEncodeH264SessionParametersAddInfoEXT value)
Prepends the specifiedVkVideoEncodeH264SessionParametersAddInfoEXTvalue to thepNextchain.
-
pNext
public VkVideoSessionParametersUpdateInfoKHR pNext(VkVideoEncodeH265SessionParametersAddInfoEXT value)
Prepends the specifiedVkVideoEncodeH265SessionParametersAddInfoEXTvalue to thepNextchain.
-
updateSequenceCount
public VkVideoSessionParametersUpdateInfoKHR updateSequenceCount(int value)
Sets the specified value to theupdateSequenceCount()field.
-
set
public VkVideoSessionParametersUpdateInfoKHR set(int sType, long pNext, int updateSequenceCount)
Initializes this struct with the specified values.
-
set
public VkVideoSessionParametersUpdateInfoKHR set(VkVideoSessionParametersUpdateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoSessionParametersUpdateInfoKHR malloc()
Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoSessionParametersUpdateInfoKHR calloc()
Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoSessionParametersUpdateInfoKHR create()
Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkVideoSessionParametersUpdateInfoKHR create(long address)
Returns a newVkVideoSessionParametersUpdateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoSessionParametersUpdateInfoKHR createSafe(long address)
-
malloc
public static VkVideoSessionParametersUpdateInfoKHR.Buffer malloc(int capacity)
Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoSessionParametersUpdateInfoKHR.Buffer calloc(int capacity)
Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoSessionParametersUpdateInfoKHR.Buffer create(int capacity)
Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoSessionParametersUpdateInfoKHR.Buffer create(long address, int capacity)
Create aVkVideoSessionParametersUpdateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoSessionParametersUpdateInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoSessionParametersUpdateInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoSessionParametersUpdateInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoSessionParametersUpdateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoSessionParametersUpdateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoSessionParametersUpdateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoSessionParametersUpdateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nupdateSequenceCount
public static int nupdateSequenceCount(long struct)
Unsafe version ofupdateSequenceCount().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nupdateSequenceCount
public static void nupdateSequenceCount(long struct, int value)Unsafe version ofupdateSequenceCount.
-
-