Package org.lwjgl.vulkan
Class VkVideoEncodeH265SessionCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265SessionCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265SessionCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 encoder creation parameters.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXTflagsmust be 0pStdExtensionVersionmust be a valid pointer to a validVkExtensionPropertiesstructure
See Also
Layout
struct VkVideoEncodeH265SessionCreateInfoEXT { VkStructureTypesType(); void const *pNext(); VkVideoEncodeH265CreateFlagsEXTflags();VkExtensionPropertiesconst *pStdExtensionVersion(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265SessionCreateInfoEXT.BufferAn array ofVkVideoEncodeH265SessionCreateInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265SessionCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265SessionCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265SessionCreateInfoEXTcalloc()Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated withmemCalloc.static VkVideoEncodeH265SessionCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265SessionCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265SessionCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265SessionCreateInfoEXTcreate()Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated withBufferUtils.static VkVideoEncodeH265SessionCreateInfoEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265SessionCreateInfoEXTcreate(long address)Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance for the specified memory address.static VkVideoEncodeH265SessionCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265SessionCreateInfoEXTcreateSafe(long address)static VkVideoEncodeH265SessionCreateInfoEXT.BuffercreateSafe(long address, int capacity)intflags()reserved for future use.VkVideoEncodeH265SessionCreateInfoEXTflags(int value)Sets the specified value to theflags()field.static VkVideoEncodeH265SessionCreateInfoEXTmalloc()Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated withmemAlloc.static VkVideoEncodeH265SessionCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265SessionCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265SessionCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance 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 VkExtensionPropertiesnpStdExtensionVersion(long struct)Unsafe version ofpStdExtensionVersion().static voidnpStdExtensionVersion(long struct, VkExtensionProperties value)Unsafe version ofpStdExtensionVersion.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.VkVideoEncodeH265SessionCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkExtensionPropertiespStdExtensionVersion()a pointer to aVkExtensionPropertiesstructure specifying the H.265 codec extension version.VkVideoEncodeH265SessionCreateInfoEXTpStdExtensionVersion(VkExtensionProperties value)Sets the address of the specifiedVkExtensionPropertiesto thepStdExtensionVersion()field.VkVideoEncodeH265SessionCreateInfoEXTset(int sType, long pNext, int flags, VkExtensionProperties pStdExtensionVersion)Initializes this struct with the specified values.VkVideoEncodeH265SessionCreateInfoEXTset(VkVideoEncodeH265SessionCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoEncodeH265SessionCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265SessionCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoEncodeH265SessionCreateInfoEXT
public VkVideoEncodeH265SessionCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265SessionCreateInfoEXTinstance 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.
-
pStdExtensionVersion
public VkExtensionProperties pStdExtensionVersion()
a pointer to aVkExtensionPropertiesstructure specifying the H.265 codec extension version.
-
sType
public VkVideoEncodeH265SessionCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265SessionCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265SessionCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
flags
public VkVideoEncodeH265SessionCreateInfoEXT flags(int value)
Sets the specified value to theflags()field.
-
pStdExtensionVersion
public VkVideoEncodeH265SessionCreateInfoEXT pStdExtensionVersion(VkExtensionProperties value)
Sets the address of the specifiedVkExtensionPropertiesto thepStdExtensionVersion()field.
-
set
public VkVideoEncodeH265SessionCreateInfoEXT set(int sType, long pNext, int flags, VkExtensionProperties pStdExtensionVersion)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265SessionCreateInfoEXT set(VkVideoEncodeH265SessionCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265SessionCreateInfoEXT malloc()
Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265SessionCreateInfoEXT calloc()
Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265SessionCreateInfoEXT create()
Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265SessionCreateInfoEXT create(long address)
Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265SessionCreateInfoEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265SessionCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265SessionCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265SessionCreateInfoEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265SessionCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265SessionCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265SessionCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265SessionCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265SessionCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265SessionCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionCreateInfoEXT.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().
-
npStdExtensionVersion
public static VkExtensionProperties npStdExtensionVersion(long struct)
Unsafe version ofpStdExtensionVersion().
-
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.
-
npStdExtensionVersion
public static void npStdExtensionVersion(long struct, VkExtensionProperties value)Unsafe version ofpStdExtensionVersion.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-