SpatialMaterial.setFeature

If true, enables the specified feature. Many features that are available in SpatialMaterials need to be enabled before use. This way the cost for using the feature is only incurred when specified. Features can also be enabled by setting the corresponding member to true.

struct SpatialMaterial
@nogc nothrow
void
setFeature
(
in long feature
,
in bool enable
)

Meta