| Modifier and Type | Field and Description |
|---|---|
| private float |
| Access | Constructor and Description |
|---|---|
| public | Brightpass()
Constructs a new |
| public | Brightpass(Effect
the single input input)EffectConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public final Effect | |
| public RenderState | getRenderState(FilterContext
the context object that would be used by the Renderer
if this call is preparing for a render operation, or null fctx, BaseTransform the transform for the output of this operation transform, Rectangle the clip rectangle that may restrict this operation, or null outputClip, Object the rendering helper object that can be used to shortcut
this operation under certain conditions, or null renderHelper, Effect the defaultInput)Effect to be used in place of any null inputsImplements abstract com. Returns the object representing the rendering strategy and state for the filter operation characterized by the specified arguments. |
| public float | Returns: the threshold valueReturns the threshold, which controls which pixels are included in the resulting image. |
| public boolean | reducesOpaquePixels()
Implements abstract com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. |
| public void | |
| public void | setThreshold(float
the threshold value threshold)Sets the threshold, which controls which pixels are included in the resulting image. |
| threshold | back to summary |
|---|---|
| private float threshold | |
| Brightpass | back to summary |
|---|---|
| public Brightpass() Constructs a new
new Brightpass(DefaultInput)
| |
| Brightpass | back to summary |
|---|---|
| public Brightpass(Effect input) Constructs a new
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the input for this
| |
| getRenderState | back to summary |
|---|---|
| public RenderState getRenderState(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput) Implements abstract com. Doc from com. Returns the object representing the rendering strategy and state for
the filter operation characterized by the specified arguments.
This call can also be used to get a state object for non-rendering
cases like querying the bounds of an operation in which case the
| |
| getThreshold | back to summary |
|---|---|
| public float getThreshold() Returns the threshold, which controls which pixels are included in the resulting image. Pixel values with brightness greater than this threshold value will be included.
| |
| reducesOpaquePixels | back to summary |
|---|---|
| public boolean reducesOpaquePixels() Implements abstract com. Doc from com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. It is always safe to return true from this method, though the consequences may be that the caller chooses to not utilize a planned optimization.
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the input for this
| |
| setThreshold | back to summary |
|---|---|
| public void setThreshold(float threshold) Sets the threshold, which controls which pixels are included in the resulting image. Pixel values with brightness greater than this threshold value will be included.
Min: 0.0
Max: 1.0
Default: 0.3
Identity: n/a
| |