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.
| Modifier and Type | Field and Description |
|---|---|
| private Color4f | |
| private float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Color4f | |
| public float | |
| public boolean | isNop()
Overrides com. Returns true if the entire operation of this linear convolution would have no effect on the source data. |
| public boolean | isShadow()
Overrides com. Returns true if this is a LinearConvolveShadow operation, or false if the operation is a regular LinearConvolve. |
| public void | |
| public void |
| shadowColor | back to summary |
|---|---|
| private Color4f shadowColor | |
| spread | back to summary |
|---|---|
| private float spread | |
| BoxShadowState | back to summary |
|---|---|
| public BoxShadowState() | |
| getShadowColor | back to summary |
|---|---|
| public Color4f getShadowColor() Overrides com.
| |
| getSpread | back to summary |
|---|---|
| public float getSpread() Overrides com.
| |
| isNop | back to summary |
|---|---|
| public boolean isNop() Overrides com. Doc from com. Returns true if the entire operation of this linear convolution would have no effect on the source data.
| |
| isShadow | back to summary |
|---|---|
| public boolean isShadow() Overrides com. Doc from com. Returns true if this is a LinearConvolveShadow operation, or false if the operation is a regular LinearConvolve.
| |
| setShadowColor | back to summary |
|---|---|
| public void setShadowColor(Color4f shadowColor) | |
| setSpread | back to summary |
|---|---|
| public void setSpread(float spread) | |