Record Class StdVideoH265ProfileTierLevel
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265ProfileTierLevel
- All Implemented Interfaces:
IPointer
,IStdVideoH265ProfileTierLevel
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoH265ProfileTierLevel(@NotNull MemorySegment segment)
extends Record
implements IStdVideoH265ProfileTierLevel
Represents a pointer to a StdVideoH265ProfileTierLevel
structure in native memory.
Structure
typedef struct StdVideoH265ProfileTierLevel {
StdVideoH265ProfileTierLevelFlags
flags
;
StdVideoH265ProfileIdc
general_profile_idc
;
StdVideoH265LevelIdc
general_level_idc
;
} StdVideoH265ProfileTierLevel;
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265ProfileTierLevel
(@NotNull MemorySegment segment) Creates an instance of aStdVideoH265ProfileTierLevel
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265ProfileTierLevel
static StdVideoH265ProfileTierLevel
clone
(Arena arena, StdVideoH265ProfileTierLevel src) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoH265ProfileTierLevelFlags
flags()
flags
(@NotNull StdVideoH265ProfileTierLevelFlags value) flags
(Consumer<@NotNull StdVideoH265ProfileTierLevelFlags> consumer) int
general_level_idc
(int value) int
general_profile_idc
(int value) final int
hashCode()
Returns a hash code value for this object.@NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$general_profile_idc
-
PATH$general_level_idc
-
LAYOUT$flags
-
LAYOUT$general_profile_idc
-
LAYOUT$general_level_idc
-
SIZE$flags
public static final long SIZE$flags -
SIZE$general_profile_idc
public static final long SIZE$general_profile_idc -
SIZE$general_level_idc
public static final long SIZE$general_level_idc -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$general_profile_idc
public static final long OFFSET$general_profile_idc -
OFFSET$general_level_idc
public static final long OFFSET$general_level_idc
-
-
Constructor Details
-
StdVideoH265ProfileTierLevel
Creates an instance of aStdVideoH265ProfileTierLevel
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
public StdVideoH265ProfileTierLevel flags(@NotNull @NotNull StdVideoH265ProfileTierLevelFlags value) -
flags
public StdVideoH265ProfileTierLevel flags(Consumer<@NotNull StdVideoH265ProfileTierLevelFlags> consumer) -
general_profile_idc
-
general_profile_idc
public StdVideoH265ProfileTierLevel general_profile_idc(@EnumType(StdVideoH265ProfileIdc.class) int value) -
general_level_idc
-
general_level_idc
public StdVideoH265ProfileTierLevel general_level_idc(@EnumType(StdVideoH265LevelIdc.class) int value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-