pub struct PlatformShaderSettings {
pub useCascadedShadowMaps: Option<bool>,
pub useScreenSpaceShadows: Option<bool>,
}Expand description
PlatformShaderSettings is a sub class of the Unity engine since version 5.3.0f1. Exert from Unity’s scripting documentation: Used to set up shader settings, per-platform and per-shader-hardware-tier. This struct is deprecated. Please use TierSettings.
Fields§
§useCascadedShadowMaps: Option<bool>bool: (5.4.0f3 - 5.4.6f3)
useScreenSpaceShadows: Option<bool>bool: (5.3.0f1 - 5.3.8f2)
Trait Implementations§
Source§impl Debug for PlatformShaderSettings
impl Debug for PlatformShaderSettings
Source§impl<'de> Deserialize<'de> for PlatformShaderSettings
impl<'de> Deserialize<'de> for PlatformShaderSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlatformShaderSettings
impl RefUnwindSafe for PlatformShaderSettings
impl Send for PlatformShaderSettings
impl Sync for PlatformShaderSettings
impl Unpin for PlatformShaderSettings
impl UnwindSafe for PlatformShaderSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more