java.lang.Object
java.lang.Record
club.doki7.opencl.datatype.VAImageFormatCLREF
- All Implemented Interfaces:
club.doki7.ffm.IPointer,IVAImageFormatCLREF
@ValueBasedCandidate
@UnsafeConstructor
public record VAImageFormatCLREF(@NotNull MemorySegment segment)
extends Record
implements IVAImageFormatCLREF
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final SequenceLayoutstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVAImageFormatCLREF(@NotNull MemorySegment segment) Creates an instance of aVAImageFormatCLREFrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VAImageFormatCLREFstatic VAImageFormatCLREF.Ptrintalpha_mask(int value) intbits_per_pixel(int value) intblue_mask(int value) intbyte_order(int value) static VAImageFormatCLREFclone(Arena arena, VAImageFormatCLREF src) intdepth()depth(int value) final booleanIndicates whether some other object is "equal to" this one.intfourcc()fourcc(int value) intgreen_mask(int value) final inthashCode()Returns a hash code value for this object.intred_mask()red_mask(int value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.club.doki7.ffm.ptr.IntPtrva_reserved(club.doki7.ffm.ptr.IntPtr value) va_reserved(@NotNull Consumer<club.doki7.ffm.ptr.IntPtr> consumer) @NotNull MemorySegment
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$fourcc
-
PATH$byte_order
-
PATH$bits_per_pixel
-
PATH$depth
-
PATH$red_mask
-
PATH$green_mask
-
PATH$blue_mask
-
PATH$alpha_mask
-
PATH$va_reserved
-
LAYOUT$fourcc
-
LAYOUT$byte_order
-
LAYOUT$bits_per_pixel
-
LAYOUT$depth
-
LAYOUT$red_mask
-
LAYOUT$green_mask
-
LAYOUT$blue_mask
-
LAYOUT$alpha_mask
-
LAYOUT$va_reserved
-
SIZE$fourcc
public static final long SIZE$fourcc -
SIZE$byte_order
public static final long SIZE$byte_order -
SIZE$bits_per_pixel
public static final long SIZE$bits_per_pixel -
SIZE$depth
public static final long SIZE$depth -
SIZE$red_mask
public static final long SIZE$red_mask -
SIZE$green_mask
public static final long SIZE$green_mask -
SIZE$blue_mask
public static final long SIZE$blue_mask -
SIZE$alpha_mask
public static final long SIZE$alpha_mask -
SIZE$va_reserved
public static final long SIZE$va_reserved -
OFFSET$fourcc
public static final long OFFSET$fourcc -
OFFSET$byte_order
public static final long OFFSET$byte_order -
OFFSET$bits_per_pixel
public static final long OFFSET$bits_per_pixel -
OFFSET$depth
public static final long OFFSET$depth -
OFFSET$red_mask
public static final long OFFSET$red_mask -
OFFSET$green_mask
public static final long OFFSET$green_mask -
OFFSET$blue_mask
public static final long OFFSET$blue_mask -
OFFSET$alpha_mask
public static final long OFFSET$alpha_mask -
OFFSET$va_reserved
public static final long OFFSET$va_reserved
-
-
Constructor Details
-
VAImageFormatCLREF
Creates an instance of aVAImageFormatCLREFrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
fourcc
@Unsigned public int fourcc() -
fourcc
-
byte_order
@Unsigned public int byte_order() -
byte_order
-
bits_per_pixel
@Unsigned public int bits_per_pixel() -
bits_per_pixel
-
depth
@Unsigned public int depth() -
depth
-
red_mask
@Unsigned public int red_mask() -
red_mask
-
green_mask
@Unsigned public int green_mask() -
green_mask
-
blue_mask
@Unsigned public int blue_mask() -
blue_mask
-
alpha_mask
@Unsigned public int alpha_mask() -
alpha_mask
-
va_reserved
@Unsigned public club.doki7.ffm.ptr.IntPtr va_reserved() -
va_reserved
public VAImageFormatCLREF va_reserved(@NotNull @NotNull Consumer<club.doki7.ffm.ptr.IntPtr> consumer) -
va_reserved
-
va_reservedRaw
-
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.- Specified by:
segmentin interfaceclub.doki7.ffm.IPointer- Returns:
- the value of the
segmentrecord component
-