java.lang.Object
com.marginallyclever.ro3.shader.Shader
- All Implemented Interfaces:
OpenGL3Resource
Shader is a wrapper for a single shader (vertex, fragment, geometry, etc).
-
Method Details
-
use
public void use(com.jogamp.opengl.GL3 gl) -
unload
public void unload(com.jogamp.opengl.GL3 gl3) - Specified by:
unloadin interfaceOpenGL3Resource
-
getShaderId
public int getShaderId()
-