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
attributes: Vec<String>
Vertex attribute bindings (e.g. "u_ModelView"
) that will be passed to the shader
extensions: Option<Map<String, Value>>
Optional data targeting official extensions
extras: Option<Map<String, Value>>
Optional application specific data
fragment_shader: String
ID of the fragment shader component
name: Option<String>
Optional user-defined name for this object
vertex_shader: String
ID of the vertex shader component