public class BoxShadowState extends BoxBlurState
BoxBlurState 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.| Constructor and Description |
|---|
BoxShadowState() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getBlurPasses, getHsize, getKernelSize, getRenderState, getVsize, setBlurPasses, setHsize, setVsizegetResultBoundspublic Color4f getShadowColor()
getShadowColor in class BoxBlurStatepublic void setShadowColor(Color4f shadowColor)
public float getSpread()
getSpread in class BoxBlurStatepublic void setSpread(float spread)
public boolean isNop()
LinearConvolveKernelisNop in class BoxBlurStatepublic boolean isShadow()
LinearConvolveKernelisShadow in class LinearConvolveKernelCopyright © 2025. All rights reserved.