pub enum UniformType {
Show 15 variants
FloatVec2 = 35_664,
FloatVec3 = 35_665,
FloatVec4 = 35_666,
IntVec2 = 35_667,
IntVec3 = 35_668,
IntVec4 = 35_669,
Bool = 35_670,
BoolVec2 = 35_671,
BoolVec3 = 35_672,
BoolVec4 = 35_673,
FloatMat2 = 35_674,
FloatMat3 = 35_675,
FloatMat4 = 35_676,
Sampler2d = 35_678,
SamplerCube = 35_680,
}Expand description
Constants passed to WebGLRenderingContext.hint()
Variants§
FloatVec2 = 35_664
FloatVec3 = 35_665
FloatVec4 = 35_666
IntVec2 = 35_667
IntVec3 = 35_668
IntVec4 = 35_669
Bool = 35_670
BoolVec2 = 35_671
BoolVec3 = 35_672
BoolVec4 = 35_673
FloatMat2 = 35_674
FloatMat3 = 35_675
FloatMat4 = 35_676
Sampler2d = 35_678
SamplerCube = 35_680
Trait Implementations§
Source§impl Clone for UniformType
impl Clone for UniformType
Source§fn clone(&self) -> UniformType
fn clone(&self) -> UniformType
Returns a duplicate 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
impl Copy 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