Struct yy_typings::shader::Shader [−][src]
pub struct Shader {
pub shader_type: ShaderType,
pub parent: ViewPath,
pub resource_version: ResourceVersion,
pub name: String,
pub tags: Tags,
pub resource_type: ConstGmShader,
}
Fields
shader_type: ShaderType
parent: ViewPath
The parent in the Gms2 virtual file system, ie. the parent which a user would see in the Navigation Pane in Gms2. This has no relationship to the actual operating system’s filesystem.
resource_version: ResourceVersion
The resource version of this yy file. At default 1.0.
name: String
The name of the shader. This is the human readable name used in the IDE.
The tags given to the shader.
resource_type: ConstGmShader
Const id tag of the shader, given by Gms2.
Implementations
Trait Implementations
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 RefUnwindSafe for Shader
impl UnwindSafe for Shader
Blanket Implementations
Mutably borrows from an owned value. Read more