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 aUnlinkedGLFunction
record class.UnlinkedGLFunction
(String name, Class<?> retType, MemoryLayout retLayout, List<Class<?>> argTypes, List<MemoryLayout> argLayouts) -
Method Summary
Modifier and TypeMethodDescriptionargTypes()
Returns the value of theargTypes
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.static MethodHandle
link
(SymbolLookup symbolLookup, String name, MethodHandle MH_dynamic) name()
Returns the value of thename
record component.static MethodHandle
prepare
(String name, MemoryLayout retLayout, Class<?> retType, List<MemoryLayout> argLayouts, List<Class<?>> argTypes, Linker.Option[] options) retType()
Returns the value of theretType
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
UnlinkedGLFunction
Creates an instance of aUnlinkedGLFunction
record class.- Parameters:
name
- the value for thename
record componentretType
- the value for theretType
record componentargTypes
- the value for theargTypes
record 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 thename
record component.- Returns:
- the value of the
name
record 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 theretType
record component.- Returns:
- the value of the
retType
record component
-
argTypes
-