Enum gfx::device::shade::CompatibilityError
[−]
[src]
pub enum CompatibilityError { ErrorArraySize, ErrorBaseType, ErrorContainer, }
Error type for trying to store a UniformValue in a UniformVar.
Variants
ErrorArraySize | Array sizes differ between the value and the var (trying to upload a vec2 as a vec4, etc) |
ErrorBaseType | Base types differ between the value and the var (trying to upload a f32 as a u16, etc) |
ErrorContainer | Container-ness differs between the value and the var (trying to upload a scalar as a vec4, etc) |