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 {
{@link StdVideoH265ProfileTierLevelFlags 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.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aStdVideoH265ProfileTierLevel
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265ProfileTierLevel
calloc()
Returns a newStdVideoH265ProfileTierLevel
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265ProfileTierLevel
calloc
(MemoryStack stack) Returns a newStdVideoH265ProfileTierLevel
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265ProfileTierLevel
create()
Returns a newStdVideoH265ProfileTierLevel
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated withBufferUtils
.static StdVideoH265ProfileTierLevel
create
(long address) Returns a newStdVideoH265ProfileTierLevel
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH265ProfileTierLevel.Buffer
instance at the specified memory.static @Nullable StdVideoH265ProfileTierLevel
createSafe
(long address) static @Nullable StdVideoH265ProfileTierLevel.Buffer
createSafe
(long address, int capacity) flags()
flags
(Consumer<StdVideoH265ProfileTierLevelFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoH265ProfileTierLevelFlags
to theflags
field.int
general_level_idc
(int value) Sets the specified value to thegeneral_level_idc
field.int
general_profile_idc
(int value) Sets the specified value to thegeneral_profile_idc
field.static StdVideoH265ProfileTierLevel
malloc()
Returns a newStdVideoH265ProfileTierLevel
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoH265ProfileTierLevel
malloc
(MemoryStack stack) Returns a newStdVideoH265ProfileTierLevel
instance allocated on the specifiedMemoryStack
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoH265ProfileTierLevelFlags value) Unsafe version offlags
.static int
ngeneral_level_idc
(long struct) Unsafe version ofgeneral_level_idc()
.static void
ngeneral_level_idc
(long struct, int value) Unsafe version ofgeneral_level_idc
.static int
ngeneral_profile_idc
(long struct) Unsafe version ofgeneral_profile_idc()
.static void
ngeneral_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.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aStdVideoH265ProfileTierLevel
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoH265ProfileTierLevel>
-
flags
- Returns:
- a
StdVideoH265ProfileTierLevelFlags
view of theflags
field.
-
general_profile_idc
public int general_profile_idc()- Returns:
- the value of the
general_profile_idc
field.
-
general_level_idc
public int general_level_idc()- Returns:
- the value of the
general_level_idc
field.
-
flags
Copies the specifiedStdVideoH265ProfileTierLevelFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
general_profile_idc
Sets the specified value to thegeneral_profile_idc
field. -
general_level_idc
Sets the specified value to thegeneral_level_idc
field. -
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 newStdVideoH265ProfileTierLevel
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265ProfileTierLevel
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265ProfileTierLevel
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265ProfileTierLevel
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265ProfileTierLevel.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265ProfileTierLevel
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ProfileTierLevel
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ProfileTierLevel.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-