@Deprecated public class HDRRenderer extends java.lang.Object implements SceneProcessor
Constructor and Description |
---|
HDRRenderer(AssetManager manager,
Renderer renderer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Deprecated.
Called when the SP is removed from the RM.
|
Picture |
createDisplayQuad()
Deprecated.
|
void |
initialize(RenderManager rm,
ViewPort vp)
Deprecated.
Called in the render thread to initialize the scene processor.
|
boolean |
isEnabled()
Deprecated.
|
boolean |
isInitialized()
Deprecated.
|
void |
postFrame(FrameBuffer out)
Deprecated.
Called after a frame has been rendered and the queue flushed.
|
void |
postQueue(RenderQueue rq)
Deprecated.
Called after the scene graph has been queued, but before it is flushed.
|
void |
preFrame(float tpf)
Deprecated.
Called before a frame
|
void |
reshape(ViewPort vp,
int w,
int h)
Deprecated.
Called when the resolution of the viewport has been changed.
|
void |
setExposure(float exp)
Deprecated.
|
void |
setMaxIterations(int maxIterations)
Deprecated.
|
void |
setProfiler(AppProfiler profiler)
Deprecated.
Sets a profiler Instance for this processor.
|
void |
setSamples(int samples)
Deprecated.
|
void |
setThrottle(float throttle)
Deprecated.
|
void |
setUseFastFilter(boolean fastFilter)
Deprecated.
|
void |
setWhiteLevel(float whiteLevel)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
rescale
public HDRRenderer(AssetManager manager, Renderer renderer)
public boolean isEnabled()
public void setSamples(int samples)
public void setExposure(float exp)
public void setWhiteLevel(float whiteLevel)
public void setMaxIterations(int maxIterations)
public void setThrottle(float throttle)
public void setUseFastFilter(boolean fastFilter)
public Picture createDisplayQuad()
public boolean isInitialized()
isInitialized
in interface SceneProcessor
public void reshape(ViewPort vp, int w, int h)
SceneProcessor
reshape
in interface SceneProcessor
vp
- the affected ViewPortw
- the new width (in pixels)h
- the new height (in pixels)public void initialize(RenderManager rm, ViewPort vp)
SceneProcessor
initialize
in interface SceneProcessor
rm
- The render manager to which the SP was added tovp
- The viewport to which the SP is assignedpublic void preFrame(float tpf)
SceneProcessor
preFrame
in interface SceneProcessor
tpf
- Time per framepublic void postQueue(RenderQueue rq)
SceneProcessor
postQueue
in interface SceneProcessor
rq
- The render queuepublic void postFrame(FrameBuffer out)
SceneProcessor
postFrame
in interface SceneProcessor
out
- The FB to which the scene was rendered.public void cleanup()
SceneProcessor
cleanup
in interface SceneProcessor
public void setProfiler(AppProfiler profiler)
SceneProcessor
setProfiler
in interface SceneProcessor
profiler
- the profiler instance.