If this method is called that means this program has the highest priority as defined by IDhApiOverrideable.getPriority()
and gets to decide if it wants to be used to render this frame or not.
If this method is called that means this program has the highest priority as defined by IDhApiOverrideable.getPriority()
and gets to decide if it wants to be used to render this frame or not.
If this method returns true then this program will be used for this frame.
If this returns false then the default DH IDhApiShaderProgram will be used instead.
getId
intgetId()
Returns:
the OpenGL ID for this shader program
free
voidfree()
Free any OpenGL objects owned by this program.
bind
voidbind()
Runs any necessary binding this program needs so rendering can be done.
unbind
voidunbind()
Runs any necessary unbinding this program needs so rendering can be done by another program.