Module club.doki7.opencl
Package club.doki7.opencl.datatype
Record Class CLImageDescBufferOrMemObject
java.lang.Object
java.lang.Record
club.doki7.opencl.datatype.CLImageDescBufferOrMemObject
- All Implemented Interfaces:
club.doki7.ffm.IPointer,ICLImageDescBufferOrMemObject
@ValueBasedCandidate
@UnsafeConstructor
public record CLImageDescBufferOrMemObject(@NotNull MemorySegment segment)
extends Record
implements ICLImageDescBufferOrMemObject
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final UnionLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionCLImageDescBufferOrMemObject(@NotNull MemorySegment segment) Creates an instance of aCLImageDescBufferOrMemObjectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic CLImageDescBufferOrMemObject@Nullable CLMembuffer()static CLImageDescBufferOrMemObjectclone(Arena arena, CLImageDescBufferOrMemObject src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable CLMem@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$buffer
-
PATH$memObject
-
LAYOUT$buffer
-
LAYOUT$memObject
-
SIZE$buffer
public static final long SIZE$buffer -
SIZE$memObject
public static final long SIZE$memObject -
OFFSET$buffer
public static final long OFFSET$buffer -
OFFSET$memObject
public static final long OFFSET$memObject
-
-
Constructor Details
-
CLImageDescBufferOrMemObject
Creates an instance of aCLImageDescBufferOrMemObjectrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
buffer
-
buffer
-
memObject
-
memObject
-
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
-