Struct gltf::TechniqueParameter [] [src]

pub struct TechniqueParameter {
    pub count: Option<u32>,
    pub extensions: Option<Map<String, Value>>,
    pub extras: Option<Map<String, Value>>,
    pub node: Option<Id>,
    pub semantic: Option<String>,
    pub type_id: u32,
    pub value: Option<Value>,
}

Describes an attribute or uniform input to a Technique If semantic is not None then this parameter describes a built-in uniform value

Fields

Defines the number of elements if the parameter is an array

Optional data targeting official extensions

Optional application specific data

ID of the Node whose transform is used as the parameter's value

"MODELVIEW", "PROJECTION", etc.

The data type (for example GL_FLOAT, or GL_FLOAT_VEC4)

The value of the parameter

Trait Implementations

impl Debug for TechniqueParameter
[src]

Formats the value using the given formatter.

impl Default for TechniqueParameter
[src]

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