Package arc.fx.filters
Class BloomFilter
java.lang.Object
arc.fx.FxFilter
arc.fx.filters.BloomFilter
- All Implemented Interfaces:
Disposable
-
Field Summary
Modifier and TypeFieldDescriptionfinal GaussianBlurFilter
final PingPongBuffer
final CombineFilter
int
final ThresholdFilter
Fields inherited from class arc.fx.FxFilter
autobind, disabled, inputTexture, outputBuffer, shader, time, u_texture0, u_texture1, u_texture2, u_texture3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Releases all resources of this object.void
rebind()
void
render
(FrameBuffer src, FrameBuffer dst) Concrete objects shall implements its own rendering, given the source and destination buffers.void
resize
(int width, int height) This method should be called once filter will be added.Methods inherited from class arc.fx.FxFilter
compileShader, compileShader, isDisabled, onBeforeRender, render, setDisabled, setInput, setInput, setOutput, setParams, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Field Details
-
buffer
-
blur
-
threshold
-
combine
-
blending
-
scaling
public int scaling
-
-
Constructor Details
-
BloomFilter
public BloomFilter()
-
-
Method Details
-
rebind
public void rebind() -
resize
public void resize(int width, int height) Description copied from class:FxFilter
This method should be called once filter will be added. Also it must be called on every application resize as usual. -
dispose
public void dispose()Description copied from interface:Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
- Overrides:
dispose
in classFxFilter
-
render
Description copied from class:FxFilter
Concrete objects shall implements its own rendering, given the source and destination buffers.
-