Struct gltf::Program [] [src]

pub struct Program {
    pub attributes: Vec<String>,
    pub extensions: Option<Map<String, Value>>,
    pub extras: Option<Map<String, Value>>,
    pub fragment_shader: String,
    pub name: Option<String>,
    pub vertex_shader: String,
}

Fields

Vertex attribute bindings (e.g. "u_ModelView") that will be passed to the shader

Optional data targeting official extensions

Optional application specific data

ID of the fragment shader component

Optional user-defined name for this object

ID of the vertex shader component

Trait Implementations

impl Debug for Program
[src]

Formats the value using the given formatter.

impl Default for Program
[src]

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