|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor
org.j3d.aviatrix3d.output.graphics.DebugRenderingProcessor
public class DebugRenderingProcessor
Handles the rendering for a single output device - be it on-screen or off.
The code expects that everything is set up before each call of the display() callback. It does not handle any recursive rendering requests as that is assumed to have been sorted out before calling this renderer.
Field Summary |
---|
Fields inherited from class org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor |
---|
addedBuffers, addedProcessors, alphaCutoff, alwaysLocalClear, availableClips, availableLights, childBuffers, clearColor, clipIdMap, currentShaderProgramId, currentViewport, environmentList, errorReporter, eyePoint, initComplete, INVALID_SHADER, lastClipIdx, lastLightIdx, lightIdMap, localContext, numRenderables, operationList, otherDataRequests, ownerDevice, ownerRenderable, parentContext, removedBuffers, renderableList, resetColor, singleThreaded, surfaceMatrix, terminate, updatedBuffers, useTwoPassTransparent |
Constructor Summary | |
---|---|
DebugRenderingProcessor(javax.media.opengl.GLContext parentCtx,
GraphicsOutputDevice owner)
Construct handler for rendering objects to the main screen. |
Method Summary | |
---|---|
void |
display(GraphicsProfilingData profilingData)
Called by the drawable to perform rendering by the client. |
int |
getTraceCount()
Get how many traces were left in the system |
protected void |
processRequestData(javax.media.opengl.GL gl)
Process the shader and delete requests for this scene now. |
boolean |
render(GraphicsProfilingData profilingData)
Draw to the drawable now. |
void |
traceNextFrames(int count)
For the next count rendered frames, output the GL state to the standard output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugRenderingProcessor(javax.media.opengl.GLContext parentCtx, GraphicsOutputDevice owner)
parentCtx
- The parent GL context to the surface that holds
this processor.owner
- The owning device of this processorMethod Detail |
---|
public boolean render(GraphicsProfilingData profilingData)
render
in interface RenderingProcessor
render
in class BaseRenderingProcessor
profilingData
- The timing and load data
public void display(GraphicsProfilingData profilingData)
display
in class BaseRenderingProcessor
profilingData
- The timing and load dataprotected void processRequestData(javax.media.opengl.GL gl)
processRequestData
in class BaseRenderingProcessor
gl
- The GL context to process the requests withpublic void traceNextFrames(int count)
count
- The number of frames to output the debug state.public int getTraceCount()
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |