Package org.lwjgl.vulkan
Class VkVideoEncodeH265ProfileEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265ProfileEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265ProfileEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying H.265 encode profile.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_EXT
Layout
struct VkVideoEncodeH265ProfileEXT { VkStructureTypesType(); void const *pNext(); StdVideoH265ProfileIdcstdProfileIdc(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265ProfileEXT.BufferAn array ofVkVideoEncodeH265ProfileEXTstructs.
-
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 intSTDPROFILEIDC
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265ProfileEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265ProfileEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265ProfileEXTcalloc()Returns a newVkVideoEncodeH265ProfileEXTinstance allocated withmemCalloc.static VkVideoEncodeH265ProfileEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265ProfileEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265ProfileEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ProfileEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265ProfileEXTcreate()Returns a newVkVideoEncodeH265ProfileEXTinstance allocated withBufferUtils.static VkVideoEncodeH265ProfileEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265ProfileEXTcreate(long address)Returns a newVkVideoEncodeH265ProfileEXTinstance for the specified memory address.static VkVideoEncodeH265ProfileEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265ProfileEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265ProfileEXTcreateSafe(long address)static VkVideoEncodeH265ProfileEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH265ProfileEXTmalloc()Returns a newVkVideoEncodeH265ProfileEXTinstance allocated withmemAlloc.static VkVideoEncodeH265ProfileEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265ProfileEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265ProfileEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ProfileEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnstdProfileIdc(long struct)Unsafe version ofstdProfileIdc().static voidnstdProfileIdc(long struct, int value)Unsafe version ofstdProfileIdc.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.VkVideoEncodeH265ProfileEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoEncodeH265ProfileEXTset(int sType, long pNext, int stdProfileIdc)Initializes this struct with the specified values.VkVideoEncodeH265ProfileEXTset(VkVideoEncodeH265ProfileEXT src)Copies the specified struct data to this struct.intsizeof()intstdProfileIdc()aStdVideoH265ProfileIdcvalue specifying the H.265 codec profile IDC.VkVideoEncodeH265ProfileEXTstdProfileIdc(int value)Sets the specified value to thestdProfileIdc()field.intsType()the type of this structure.VkVideoEncodeH265ProfileEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265ProfileEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoEncodeH265ProfileEXT
public VkVideoEncodeH265ProfileEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265ProfileEXTinstance 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.
-
stdProfileIdc
public int stdProfileIdc()
aStdVideoH265ProfileIdcvalue specifying the H.265 codec profile IDC.
-
sType
public VkVideoEncodeH265ProfileEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265ProfileEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265ProfileEXT pNext(long value)
Sets the specified value to thepNext()field.
-
stdProfileIdc
public VkVideoEncodeH265ProfileEXT stdProfileIdc(int value)
Sets the specified value to thestdProfileIdc()field.
-
set
public VkVideoEncodeH265ProfileEXT set(int sType, long pNext, int stdProfileIdc)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265ProfileEXT set(VkVideoEncodeH265ProfileEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265ProfileEXT malloc()
Returns a newVkVideoEncodeH265ProfileEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265ProfileEXT calloc()
Returns a newVkVideoEncodeH265ProfileEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265ProfileEXT create()
Returns a newVkVideoEncodeH265ProfileEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265ProfileEXT create(long address)
Returns a newVkVideoEncodeH265ProfileEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265ProfileEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265ProfileEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265ProfileEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265ProfileEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265ProfileEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265ProfileEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265ProfileEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265ProfileEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ProfileEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265ProfileEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ProfileEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265ProfileEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ProfileEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265ProfileEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ProfileEXT.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().
-
nstdProfileIdc
public static int nstdProfileIdc(long struct)
Unsafe version ofstdProfileIdc().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nstdProfileIdc
public static void nstdProfileIdc(long struct, int value)Unsafe version ofstdProfileIdc.
-
-