Record Class GLBufferBind.Unbind
java.lang.Object
java.lang.Record
dev.pfaff.altargui.internal.render.GLBufferBind.Unbind
- All Implemented Interfaces:
GLBufferBind
,AutoCloseable
- Enclosing interface:
GLBufferBind
public static record GLBufferBind.Unbind(dev.pfaff.glass.opengl.enums.GLBufferTarget target)
extends Record
implements GLBufferBind
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.pfaff.altargui.internal.render.GLBufferBind
GLBufferBind.NoUnbind, GLBufferBind.Unbind
-
Constructor Summary
ConstructorsConstructorDescriptionUnbind
(dev.pfaff.glass.opengl.enums.GLBufferTarget target) Creates an instance of aUnbind
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.dev.pfaff.glass.opengl.enums.GLBufferTarget
target()
Returns the value of thetarget
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Unbind
public Unbind(dev.pfaff.glass.opengl.enums.GLBufferTarget target) Creates an instance of aUnbind
record class.- Parameters:
target
- the value for thetarget
record component
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceGLBufferBind
-
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)
. -
target
public dev.pfaff.glass.opengl.enums.GLBufferTarget target()Returns the value of thetarget
record component.- Returns:
- the value of the
target
record component
-