Package org.lwjgl.vulkan.video
Class StdVideoH265ProfileTierLevel
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265ProfileTierLevel>
org.lwjgl.vulkan.video.StdVideoH265ProfileTierLevel
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoH265ProfileTierLevel
extends Struct<StdVideoH265ProfileTierLevel>
implements NativeResource
struct StdVideoH265ProfileTierLevel {
StdVideoH265ProfileTierLevelFlags flags;
StdVideoH265ProfileIdc general_profile_idc;
StdVideoH265LevelIdc general_level_idc;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265ProfileTierLevel(ByteBuffer container) Creates aStdVideoH265ProfileTierLevelinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265ProfileTierLevelcalloc()Returns a newStdVideoH265ProfileTierLevelinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265ProfileTierLevelcalloc(MemoryStack stack) Returns a newStdVideoH265ProfileTierLevelinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265ProfileTierLevelcreate()Returns a newStdVideoH265ProfileTierLevelinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated withBufferUtils.static StdVideoH265ProfileTierLevelcreate(long address) Returns a newStdVideoH265ProfileTierLevelinstance for the specified memory address.create(long address, int capacity) Create aStdVideoH265ProfileTierLevel.Bufferinstance at the specified memory.static @Nullable StdVideoH265ProfileTierLevelcreateSafe(long address) static @Nullable StdVideoH265ProfileTierLevel.BuffercreateSafe(long address, int capacity) flags()flags(Consumer<StdVideoH265ProfileTierLevelFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoH265ProfileTierLevelFlagsto theflagsfield.intgeneral_level_idc(int value) Sets the specified value to thegeneral_level_idcfield.intgeneral_profile_idc(int value) Sets the specified value to thegeneral_profile_idcfield.static StdVideoH265ProfileTierLevelmalloc()Returns a newStdVideoH265ProfileTierLevelinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265ProfileTierLevelmalloc(MemoryStack stack) Returns a newStdVideoH265ProfileTierLevelinstance allocated on the specifiedMemoryStack.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoH265ProfileTierLevelFlags value) Unsafe version offlags.static intngeneral_level_idc(long struct) Unsafe version ofgeneral_level_idc().static voidngeneral_level_idc(long struct, int value) Unsafe version ofgeneral_level_idc.static intngeneral_profile_idc(long struct) Unsafe version ofgeneral_profile_idc().static voidngeneral_profile_idc(long struct, int value) Unsafe version ofgeneral_profile_idc.Copies the specified struct data to this struct.set(StdVideoH265ProfileTierLevelFlags flags, int general_profile_idc, int general_level_idc) Initializes this struct with the specified values.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLAGS
public static final int FLAGSThe struct member offsets. -
GENERAL_PROFILE_IDC
public static final int GENERAL_PROFILE_IDCThe struct member offsets. -
GENERAL_LEVEL_IDC
public static final int GENERAL_LEVEL_IDCThe struct member offsets.
-
-
Constructor Details
-
StdVideoH265ProfileTierLevel
Creates aStdVideoH265ProfileTierLevelinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoH265ProfileTierLevel>
-
flags
- Returns:
- a
StdVideoH265ProfileTierLevelFlagsview of theflagsfield.
-
general_profile_idc
public int general_profile_idc()- Returns:
- the value of the
general_profile_idcfield.
-
general_level_idc
public int general_level_idc()- Returns:
- the value of the
general_level_idcfield.
-
flags
Copies the specifiedStdVideoH265ProfileTierLevelFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
general_profile_idc
Sets the specified value to thegeneral_profile_idcfield. -
general_level_idc
Sets the specified value to thegeneral_level_idcfield. -
set
public StdVideoH265ProfileTierLevel set(StdVideoH265ProfileTierLevelFlags flags, int general_profile_idc, int general_level_idc) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoH265ProfileTierLevelinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265ProfileTierLevelinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH265ProfileTierLevelinstance allocated withBufferUtils. -
create
Returns a newStdVideoH265ProfileTierLevelinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH265ProfileTierLevel.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265ProfileTierLevelinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ProfileTierLevelinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ProfileTierLevel.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nflags
Unsafe version offlags(). -
ngeneral_profile_idc
public static int ngeneral_profile_idc(long struct) Unsafe version ofgeneral_profile_idc(). -
ngeneral_level_idc
public static int ngeneral_level_idc(long struct) Unsafe version ofgeneral_level_idc(). -
nflags
Unsafe version offlags. -
ngeneral_profile_idc
public static void ngeneral_profile_idc(long struct, int value) Unsafe version ofgeneral_profile_idc. -
ngeneral_level_idc
public static void ngeneral_level_idc(long struct, int value) Unsafe version ofgeneral_level_idc.
-