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 recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265ProfileTierLevel(@NotNull MemorySegment segment) Creates an instance of aStdVideoH265ProfileTierLevelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265ProfileTierLevelstatic StdVideoH265ProfileTierLevelclone(Arena arena, StdVideoH265ProfileTierLevel src) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoH265ProfileTierLevelFlagsflags()flags(@NotNull StdVideoH265ProfileTierLevelFlags value) flags(Consumer<@NotNull StdVideoH265ProfileTierLevelFlags> consumer) intgeneral_level_idc(int value) intgeneral_profile_idc(int value) final inthashCode()Returns a hash code value for this object.@NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()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 aStdVideoH265ProfileTierLevelrecord class.- Parameters:
segment- the value for thesegmentrecord 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 thesegmentrecord component.
-