public class GaussianShadowState extends GaussianBlurState
GaussianBlurState
class for defining the kernel and simply stores
additional shadowColor
and spread
properties for the
associated support methods for the shadow version of the shader.Modifier and Type | Field and Description |
---|---|
private Color4f |
shadowColor |
private float |
spread |
Constructor and Description |
---|
GaussianShadowState() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
checkRadius(float radius) |
Color4f |
getShadowColor() |
float |
getSpread() |
boolean |
isNop()
Returns true if the entire operation of this linear convolution
would have no effect on the source data.
|
boolean |
isShadow()
Returns true if this is a LinearConvolveShadow operation, or false
if the operation is a regular LinearConvolve.
|
void |
setShadowColor(Color4f shadowColor) |
void |
setSpread(float spread) |
getHRadius, getKernelSize, getPad, getRadius, getRadius, getRenderState, getVRadius, setHRadius, setRadius, setVRadius
getResultBounds
private Color4f shadowColor
private float spread
void checkRadius(float radius)
checkRadius
in class GaussianBlurState
public Color4f getShadowColor()
getShadowColor
in class GaussianBlurState
public void setShadowColor(Color4f shadowColor)
public float getSpread()
getSpread
in class GaussianBlurState
public void setSpread(float spread)
public boolean isNop()
LinearConvolveKernel
isNop
in class GaussianBlurState
public boolean isShadow()
LinearConvolveKernel
isShadow
in class LinearConvolveKernel