[go: up one dir, main page]

Struct gltf::Program [] [src]

pub struct Program {
    pub attributes: Vec<String>,
    pub fragment_shader: String,
    pub vertex_shader: String,
}

Fields

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

ID of the fragment shader component

ID of the vertex shader component

Trait Implementations

impl Debug for Program
[src]

Formats the value using the given formatter.