Struct gltf::Shader [] [src]

pub struct Shader {
    pub extensions: Option<Map<String, Value>>,
    pub extras: Option<Map<String, Value>>,
    pub name: Option<String>,
    pub type_id: u32,
    pub uri: String,
}

Fields

Optional data targeting official extensions

Optional application specific data

Optional user-defined name for this object

The shader stage (for example GL_VERTEX_SHADER or GL_FRAGMENT_SHADER)

Uniform resource identifier of the GLSL source code

Trait Implementations

impl Debug for Shader
[src]

Formats the value using the given formatter.

impl Default for Shader
[src]

Returns the "default value" for a type. Read more