Package icyllis.arc3d.opengl
Class GLProgram
java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.engine.ManagedResource
icyllis.arc3d.opengl.GLProgram
- All Implemented Interfaces:
RefCounted
Represents OpenGL programs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Override this method to invoke de-allocation of the underlying resource.void
discard()
int
Methods inherited from class icyllis.arc3d.engine.ManagedResource
getDevice
-
Constructor Details
-
GLProgram
-
-
Method Details
-
deallocate
protected void deallocate()Description copied from class:RefCnt
Override this method to invoke de-allocation of the underlying resource.- Specified by:
deallocate
in classRefCnt
-
discard
public void discard() -
getProgram
public int getProgram()
-