pub struct ShaderInfo {
pub variants: Vec<VariantInfo>,
}Expand description
ShaderInfo is a sub class of the Unity engine since version 5.0.0f4. Exert from Unity’s scripting documentation: Contains the following information about a shader: -If the shader has compilation errors or warnings. -If the shader is supported on the currently selected platform. -The name of the shader.
Fields§
§variants: Vec<VariantInfo>Trait Implementations§
Source§impl Debug for ShaderInfo
impl Debug for ShaderInfo
Source§impl<'de> Deserialize<'de> for ShaderInfo
impl<'de> Deserialize<'de> for ShaderInfo
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 ShaderInfo
impl RefUnwindSafe for ShaderInfo
impl Send for ShaderInfo
impl Sync for ShaderInfo
impl Unpin for ShaderInfo
impl UnwindSafe for ShaderInfo
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