Enum bgfx_rs::static_lib::UniformType
source · #[repr(u32)]pub enum UniformType {
Sampler = 0,
End = 1,
Vec4 = 2,
Mat3 = 3,
Mat4 = 4,
Count = 5,
}
Expand description
Uniform type enum.
Variants§
Sampler = 0
Sampler.
End = 1
Reserved, do not use.
Vec4 = 2
4 floats vector.
Mat3 = 3
3x3 matrix.
Mat4 = 4
4x4 matrix.
Count = 5
Number of entries in the enum
Trait Implementations§
source§impl Clone for UniformType
impl Clone for UniformType
source§fn clone(&self) -> UniformType
fn clone(&self) -> UniformType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UniformType
impl Debug for UniformType
source§impl PartialEq for UniformType
impl PartialEq for UniformType
source§fn eq(&self, other: &UniformType) -> bool
fn eq(&self, other: &UniformType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UniformType
impl StructuralPartialEq for UniformType
Auto Trait Implementations§
impl Freeze for UniformType
impl RefUnwindSafe for UniformType
impl Send for UniformType
impl Sync for UniformType
impl Unpin for UniformType
impl UnwindSafe for UniformType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more