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
count: Option<u32>
Defines the number of elements if the parameter is an array
extensions: Option<Map<String, Value>>
Optional data targeting official extensions
extras: Option<Map<String, Value>>
Optional application specific data
node: Option<Id>
ID of the Node
whose transform is used as the parameter's value
semantic: Option<String>
"MODELVIEW"
, "PROJECTION"
, etc.
type_id: u32
The data type (for example GL_FLOAT
, or GL_FLOAT_VEC4
)
value: Option<Value>
The value of the parameter
Trait Implementations
impl Debug for TechniqueParameter
[src]
impl Default for TechniqueParameter
[src]
fn default() -> TechniqueParameter
Returns the "default value" for a type. Read more