pub type ForwardDecalMaterial<B: Material> = ExtendedMaterial<B, ForwardDecalMaterialExt>;
Expand description
Type alias for an extended material with a ForwardDecalMaterialExt
extension.
Make sure to register the MaterialPlugin
for this material in your app setup.
StandardMaterial
comes with out of the box support for forward decals.
Aliased Type§
pub struct ForwardDecalMaterial<B: Material> {
pub base: B,
pub extension: ForwardDecalMaterialExt,
}
Fields§
§base: B
§extension: ForwardDecalMaterialExt