Struct gltf::Technique [] [src]

pub struct Technique {
    pub attributes: Map<String, String>,
    pub extensions: Option<Map<String, Value>>,
    pub extras: Option<Map<String, Value>>,
    pub name: Option<String>,
    pub parameters: Map<String, TechniqueParameter>,
    pub program: Id,
    pub states: TechniqueStates,
    pub uniforms: Map<String, String>,
}

Fields

Maps GLSL attribute names to technique parameter IDs

Optional data targeting official extensions

Optional application specific data

Optional user-defined name for this object

ID of the GLSL shader program to render with

Fixed-function rendering states

Maps uniform names to technqiue parameter IDs

Trait Implementations

impl Debug for Technique
[src]

Formats the value using the given formatter.

impl Default for Technique
[src]

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