Struct gltf::Program
[−]
[src]
pub struct Program {
pub attributes: Vec<String>,
pub fragment_shader: String,
pub vertex_shader: String,
}Fields
attributes: Vec<String>
Vertex attribute bindings (e.g. "u_ModelView") that will be passed to the shader
fragment_shader: String
ID of the fragment shader component
vertex_shader: String
ID of the vertex shader component