Record Class UnlinkedGLFunction
java.lang.Object
java.lang.Record
dev.pfaff.glass.opengl.UnlinkedGLFunction
-
Constructor Summary
ConstructorsConstructorDescriptionUnlinkedGLFunction(String name, GLType retType, List<GLType> argTypes) Creates an instance of aUnlinkedGLFunctionrecord class.UnlinkedGLFunction(String name, Class<?> retType, MemoryLayout retLayout, List<Class<?>> argTypes, List<MemoryLayout> argLayouts) -
Method Summary
Modifier and TypeMethodDescriptionargTypes()Returns the value of theargTypesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static MethodHandlelink(SymbolLookup symbolLookup, String name, MethodHandle MH_dynamic) name()Returns the value of thenamerecord component.static MethodHandleprepare(String name, MemoryLayout retLayout, Class<?> retType, List<MemoryLayout> argLayouts, List<Class<?>> argTypes, Linker.Option[] options) retType()Returns the value of theretTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UnlinkedGLFunction
Creates an instance of aUnlinkedGLFunctionrecord class.- Parameters:
name- the value for thenamerecord componentretType- the value for theretTyperecord componentargTypes- the value for theargTypesrecord component
-
UnlinkedGLFunction
public UnlinkedGLFunction(String name, Class<?> retType, MemoryLayout retLayout, List<Class<?>> argTypes, List<MemoryLayout> argLayouts)
-
-
Method Details
-
prepare
public static MethodHandle prepare(String name, MemoryLayout retLayout, Class<?> retType, List<MemoryLayout> argLayouts, List<Class<?>> argTypes, Linker.Option[] options) -
link
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
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). -
retType
Returns the value of theretTyperecord component.- Returns:
- the value of the
retTyperecord component
-
argTypes
-