Enum rust_rpg_toolkit::prelude::UniformType [−]
pub enum UniformType {
Float1,
Float2,
Float3,
Float4,
Int1,
Int2,
Int3,
Int4,
Mat4,
}
Variants
One 32-bit wide float (equivalent to f32
)
Two 32-bit wide floats (equivalent to [f32; 2]
)
Three 32-bit wide floats (equivalent to [f32; 3]
)
Four 32-bit wide floats (equivalent to [f32; 4]
)
One unsigned 32-bit integers (equivalent to [u32; 1]
)
Two unsigned 32-bit integers (equivalent to [u32; 2]
)
Three unsigned 32-bit integers (equivalent to [u32; 3]
)
Four unsigned 32-bit integers (equivalent to [u32; 4]
)
Four by four matrix of 32-bit floats
Implementations
impl UniformType
impl UniformType
Trait Implementations
impl Clone for UniformType
impl Clone for UniformType
pub fn clone(&self) -> UniformType
pub fn clone(&self) -> UniformType
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for UniformType
impl Debug for UniformType
impl Copy for UniformType
Auto Trait Implementations
impl RefUnwindSafe for UniformType
impl Send for UniformType
impl Sync for UniformType
impl Unpin for UniformType
impl UnwindSafe for UniformType
Blanket Implementations
Mutably borrows from an owned value. Read more