Package org.lwjgl.vulkan
Class VkVideoQueueFamilyProperties2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoQueueFamilyProperties2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoQueueFamilyProperties2KHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the codec video operations.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_QUEUE_FAMILY_PROPERTIES_2_KHRvideoCodecOperationsmust be a valid combination ofVkVideoCodecOperationFlagBitsKHRvaluesvideoCodecOperationsmust not be 0
Layout
struct VkVideoQueueFamilyProperties2KHR { VkStructureTypesType(); void *pNext(); VkVideoCodecOperationFlagsKHRvideoCodecOperations(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoQueueFamilyProperties2KHR.BufferAn array ofVkVideoQueueFamilyProperties2KHRstructs.
-
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
VIDEOCODECOPERATIONSThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoQueueFamilyProperties2KHR(java.nio.ByteBuffer container)Creates aVkVideoQueueFamilyProperties2KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoQueueFamilyProperties2KHRcalloc()Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated withmemCalloc.static VkVideoQueueFamilyProperties2KHR.Buffercalloc(int capacity)Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated withmemCalloc.static VkVideoQueueFamilyProperties2KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoQueueFamilyProperties2KHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoQueueFamilyProperties2KHRcreate()Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated withBufferUtils.static VkVideoQueueFamilyProperties2KHR.Buffercreate(int capacity)Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated withBufferUtils.static VkVideoQueueFamilyProperties2KHRcreate(long address)Returns a newVkVideoQueueFamilyProperties2KHRinstance for the specified memory address.static VkVideoQueueFamilyProperties2KHR.Buffercreate(long address, int capacity)Create aVkVideoQueueFamilyProperties2KHR.Bufferinstance at the specified memory.static VkVideoQueueFamilyProperties2KHRcreateSafe(long address)static VkVideoQueueFamilyProperties2KHR.BuffercreateSafe(long address, int capacity)static VkVideoQueueFamilyProperties2KHRmalloc()Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated withmemAlloc.static VkVideoQueueFamilyProperties2KHR.Buffermalloc(int capacity)Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated withmemAlloc.static VkVideoQueueFamilyProperties2KHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoQueueFamilyProperties2KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoQueueFamilyProperties2KHRinstance 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 intnvideoCodecOperations(long struct)Unsafe version ofvideoCodecOperations().static voidnvideoCodecOperations(long struct, int value)Unsafe version ofvideoCodecOperations.longpNext()NULLor a pointer to a structure extending this structure.VkVideoQueueFamilyProperties2KHRpNext(long value)Sets the specified value to thepNext()field.VkVideoQueueFamilyProperties2KHRset(int sType, long pNext, int videoCodecOperations)Initializes this struct with the specified values.VkVideoQueueFamilyProperties2KHRset(VkVideoQueueFamilyProperties2KHR src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoQueueFamilyProperties2KHRsType(int value)Sets the specified value to thesType()field.VkVideoQueueFamilyProperties2KHRsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_QUEUE_FAMILY_PROPERTIES_2_KHRvalue to thesType()field.intvideoCodecOperations()a bitmask ofVkVideoCodecOperationFlagBitsKHRspecifying supported video codec operation(s).VkVideoQueueFamilyProperties2KHRvideoCodecOperations(int value)Sets the specified value to thevideoCodecOperations()field.
-
-
-
Constructor Detail
-
VkVideoQueueFamilyProperties2KHR
public VkVideoQueueFamilyProperties2KHR(java.nio.ByteBuffer container)
Creates aVkVideoQueueFamilyProperties2KHRinstance 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.
-
videoCodecOperations
public int videoCodecOperations()
a bitmask ofVkVideoCodecOperationFlagBitsKHRspecifying supported video codec operation(s).
-
sType
public VkVideoQueueFamilyProperties2KHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoQueueFamilyProperties2KHR sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_QUEUE_FAMILY_PROPERTIES_2_KHRvalue to thesType()field.
-
pNext
public VkVideoQueueFamilyProperties2KHR pNext(long value)
Sets the specified value to thepNext()field.
-
videoCodecOperations
public VkVideoQueueFamilyProperties2KHR videoCodecOperations(int value)
Sets the specified value to thevideoCodecOperations()field.
-
set
public VkVideoQueueFamilyProperties2KHR set(int sType, long pNext, int videoCodecOperations)
Initializes this struct with the specified values.
-
set
public VkVideoQueueFamilyProperties2KHR set(VkVideoQueueFamilyProperties2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoQueueFamilyProperties2KHR malloc()
Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoQueueFamilyProperties2KHR calloc()
Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoQueueFamilyProperties2KHR create()
Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated withBufferUtils.
-
create
public static VkVideoQueueFamilyProperties2KHR create(long address)
Returns a newVkVideoQueueFamilyProperties2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoQueueFamilyProperties2KHR createSafe(long address)
-
malloc
public static VkVideoQueueFamilyProperties2KHR.Buffer malloc(int capacity)
Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoQueueFamilyProperties2KHR.Buffer calloc(int capacity)
Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoQueueFamilyProperties2KHR.Buffer create(int capacity)
Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoQueueFamilyProperties2KHR.Buffer create(long address, int capacity)
Create aVkVideoQueueFamilyProperties2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoQueueFamilyProperties2KHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoQueueFamilyProperties2KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoQueueFamilyProperties2KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoQueueFamilyProperties2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoQueueFamilyProperties2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoQueueFamilyProperties2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoQueueFamilyProperties2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoQueueFamilyProperties2KHR.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().
-
nvideoCodecOperations
public static int nvideoCodecOperations(long struct)
Unsafe version ofvideoCodecOperations().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nvideoCodecOperations
public static void nvideoCodecOperations(long struct, int value)Unsafe version ofvideoCodecOperations.
-
-