More primitive data types supported for UniformDataType
@@ -3,9 +3,13 @@ use crate::core::*;
///
/// Possible types that can be send as a uniform to a shader (a variable that is uniformly available when processing all vertices and fragments).
///
-pub trait UniformDataType: std::fmt::Debug + crate::core::internal::DataType {}
+pub trait UniformDataType: crate::core::internal::DataType {}
+impl UniformDataType for u8 {}
+impl UniformDataType for u16 {}
+impl UniformDataType for u32 {}
impl UniformDataType for i32 {}
+impl UniformDataType for f16 {}
impl UniformDataType for f32 {}
impl<T: UniformDataType + crate::core::internal::PrimitiveDataType> UniformDataType for Vector2<T> {}
