Package com.jozufozu.flywheel.backend.gl
Class GlObject
java.lang.Object
com.jozufozu.flywheel.backend.gl.GlObject
- Direct Known Subclasses:
GlBuffer,GlProgram,GlShader,GlTexture,GlVertexArray
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidvoiddelete()protected abstract voiddeleteInternal(int handle) final inthandle()protected final voidprotected final booleanprotected final voidsetHandle(int handle)
-
Constructor Details
-
GlObject
public GlObject()
-
-
Method Details
-
setHandle
protected final void setHandle(int handle) -
handle
public final int handle() -
checkHandle
protected final void checkHandle() -
isInvalid
protected final boolean isInvalid() -
invalidateHandle
protected final void invalidateHandle() -
delete
public void delete() -
deleteInternal
protected abstract void deleteInternal(int handle)
-