Enum dae_parser::ParamType
source · pub enum ParamType {
Float(f32),
Float2([f32; 2]),
Float3(Box<[f32; 3]>),
Float4(Box<[f32; 4]>),
Surface(Box<Surface>),
Sampler2D(Box<Sampler2D>),
Other(Box<Element>),
}
Expand description
A parameter’s type. We do not have full support here,
but unknown types can be retrieved in the Other
variant.
Variants§
Float(f32)
float
type
Float2([f32; 2])
float2
type
Float3(Box<[f32; 3]>)
float3
type
Float4(Box<[f32; 4]>)
float4
type
Surface(Box<Surface>)
surface
type
Sampler2D(Box<Sampler2D>)
sampler2D
type
Other(Box<Element>)
Any other type, stored as a raw XML element.