Package org.lwjgl.vulkan
Class VkVideoEndCodingInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEndCodingInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEndCodingInfoKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the end of decode encode commands sequence.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHRpNextmust beNULLflagsmust be 0
See Also
Layout
struct VkVideoEndCodingInfoKHR { VkStructureTypesType(); void const *pNext(); VkVideoEndCodingFlagsKHRflags(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEndCodingInfoKHR.BufferAn array ofVkVideoEndCodingInfoKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoEndCodingInfoKHR(java.nio.ByteBuffer container)Creates aVkVideoEndCodingInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEndCodingInfoKHRcalloc()Returns a newVkVideoEndCodingInfoKHRinstance allocated withmemCalloc.static VkVideoEndCodingInfoKHR.Buffercalloc(int capacity)Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated withmemCalloc.static VkVideoEndCodingInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEndCodingInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEndCodingInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEndCodingInfoKHRcreate()Returns a newVkVideoEndCodingInfoKHRinstance allocated withBufferUtils.static VkVideoEndCodingInfoKHR.Buffercreate(int capacity)Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated withBufferUtils.static VkVideoEndCodingInfoKHRcreate(long address)Returns a newVkVideoEndCodingInfoKHRinstance for the specified memory address.static VkVideoEndCodingInfoKHR.Buffercreate(long address, int capacity)Create aVkVideoEndCodingInfoKHR.Bufferinstance at the specified memory.static VkVideoEndCodingInfoKHRcreateSafe(long address)static VkVideoEndCodingInfoKHR.BuffercreateSafe(long address, int capacity)intflags()reserved for future use.VkVideoEndCodingInfoKHRflags(int value)Sets the specified value to theflags()field.static VkVideoEndCodingInfoKHRmalloc()Returns a newVkVideoEndCodingInfoKHRinstance allocated withmemAlloc.static VkVideoEndCodingInfoKHR.Buffermalloc(int capacity)Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated withmemAlloc.static VkVideoEndCodingInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEndCodingInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEndCodingInfoKHRinstance allocated on the specifiedMemoryStack.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.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.longpNext()NULLor a pointer to a structure extending this structure.VkVideoEndCodingInfoKHRpNext(long value)Sets the specified value to thepNext()field.VkVideoEndCodingInfoKHRset(int sType, long pNext, int flags)Initializes this struct with the specified values.VkVideoEndCodingInfoKHRset(VkVideoEndCodingInfoKHR src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoEndCodingInfoKHRsType(int value)Sets the specified value to thesType()field.VkVideoEndCodingInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHRvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoEndCodingInfoKHR
public VkVideoEndCodingInfoKHR(java.nio.ByteBuffer container)
Creates aVkVideoEndCodingInfoKHRinstance 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.
-
flags
public int flags()
reserved for future use.
-
sType
public VkVideoEndCodingInfoKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEndCodingInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHRvalue to thesType()field.
-
pNext
public VkVideoEndCodingInfoKHR pNext(long value)
Sets the specified value to thepNext()field.
-
flags
public VkVideoEndCodingInfoKHR flags(int value)
Sets the specified value to theflags()field.
-
set
public VkVideoEndCodingInfoKHR set(int sType, long pNext, int flags)
Initializes this struct with the specified values.
-
set
public VkVideoEndCodingInfoKHR set(VkVideoEndCodingInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEndCodingInfoKHR malloc()
Returns a newVkVideoEndCodingInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEndCodingInfoKHR calloc()
Returns a newVkVideoEndCodingInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEndCodingInfoKHR create()
Returns a newVkVideoEndCodingInfoKHRinstance allocated withBufferUtils.
-
create
public static VkVideoEndCodingInfoKHR create(long address)
Returns a newVkVideoEndCodingInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEndCodingInfoKHR createSafe(long address)
-
malloc
public static VkVideoEndCodingInfoKHR.Buffer malloc(int capacity)
Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEndCodingInfoKHR.Buffer calloc(int capacity)
Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEndCodingInfoKHR.Buffer create(int capacity)
Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEndCodingInfoKHR.Buffer create(long address, int capacity)
Create aVkVideoEndCodingInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEndCodingInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEndCodingInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEndCodingInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEndCodingInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEndCodingInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEndCodingInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEndCodingInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEndCodingInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEndCodingInfoKHR.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().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
-