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, setVRadiusgetResultBoundsprivate Color4f shadowColor
private float spread
void checkRadius(float radius)
checkRadius in class GaussianBlurStatepublic Color4f getShadowColor()
getShadowColor in class GaussianBlurStatepublic void setShadowColor(Color4f shadowColor)
public float getSpread()
getSpread in class GaussianBlurStatepublic void setSpread(float spread)
public boolean isNop()
LinearConvolveKernelisNop in class GaussianBlurStatepublic boolean isShadow()
LinearConvolveKernelisShadow in class LinearConvolveKernel