Record Class StdVideoEncodeAV1ReferenceInfo

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeAV1ReferenceInfo
All Implemented Interfaces:
IPointer, IStdVideoEncodeAV1ReferenceInfo

@ValueBasedCandidate @UnsafeConstructor public record StdVideoEncodeAV1ReferenceInfo(@NotNull MemorySegment segment) extends Record implements IStdVideoEncodeAV1ReferenceInfo

Represents a pointer to a StdVideoEncodeAV1ReferenceInfo structure in native memory.

Structure

typedef struct StdVideoEncodeAV1ReferenceInfo {
    StdVideoEncodeAV1ReferenceInfoFlags flags;
    uint32_t RefFrameId;
    StdVideoAV1FrameType frame_type;
    uint8_t OrderHint;
    uint8_t[3] reserved1;
    StdVideoEncodeAV1ExtensionHeader const* pExtensionHeader;
} StdVideoEncodeAV1ReferenceInfo;

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.