Shadow Mode
Per-shape opt-in for cascaded sun-shadow participation. One enum value selects whether a renderable casts, receives, both, or neither. Decoupled from ShapeAttributes.isLightingEnabled (which controls Lambertian shading only) so cast and receive can be configured independently of shading.
The ENABLED default means the shape participates in both passes when earth.worldwind.layer.shadow.ShadowLayer is in the layer list. Apps that need to opt out per-shape pick one of the other modes.
Entries
Properties
Whether the shape's geometry should be rasterised into the cascade depth maps.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Whether the shape's fragments should sample the cascade depth maps and be darkened.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.