Maven module :un.engine : engine-opengl :
Class : un.engine.opengl.renderer.actor.AbstractActor
Extends/Implements : un.engine.opengl.renderer.actor.Actor
Subclasses : -

Shader actor doing nothing.
author  Johann Sorel


Variables : initialized, concurrent
Functions : AbstractActor, AbstractActor, getReuseUID, isDirty, usesTesselationShader, usesGeometryShader, initProgram, preExecutionGL, preDrawGL, postDrawGL, dispose



Keep the current program state.
This is to ensure the actor is not used in multiple programs
without being disposed between them.
protected boolean initialized

protected boolean concurrent


public void AbstractActor (Chars reuseId)

public void AbstractActor (Chars reuseId, boolean concurrent)

public Chars getReuseUID ()

public boolean isDirty ()

public boolean usesTesselationShader ()

public boolean usesGeometryShader ()

public void initProgram (RenderContext ctx, ShaderProgramTemplate template, boolean tess, boolean geom)

public void preExecutionGL (RenderContext context, Object candidate)

public void preDrawGL (RenderContext context, ActorProgram program)

public void postDrawGL (RenderContext context, ActorProgram program)

public void dispose (GLProcessContext context)