Record Class PFSceneRef
java.lang.Object
java.lang.Record
dev.pfaff.altargui.pathfinder.PFSceneRef
- All Implemented Interfaces:
Ref
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPFSceneRef
(MemorySegment internalPtr) Creates an instance of aPFSceneRef
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinternalPtr
record component.boolean
ptr()
void
setManaged
(boolean value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
-
Constructor Details
-
PFSceneRef
Creates an instance of aPFSceneRef
record class.- Parameters:
internalPtr
- the value for theinternalPtr
record component
-
-
Method Details
-
ptr
-
isManaged
-
setManaged
public void setManaged(boolean value) - Specified by:
setManaged
in interfaceRef
-
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)
. -
internalPtr
Returns the value of theinternalPtr
record component.- Specified by:
internalPtr
in interfaceRef
- Returns:
- the value of the
internalPtr
record component
-