[−][src]Enum luminance::shader::UniformType
Type of a uniform.
This is an exhaustive list of possible types of value you can send to a shader program.
A UniformType
is associated to any type that can be considered sent via the
Uniformable
trait.
Variants
32-bit signed integer.
32-bit unsigned integer.
32-bit floating-point number.
64-bit floating-point number.
Boolean.
2D signed integral vector.
3D signed integral vector.
4D signed integral vector.
2D unsigned integral vector.
3D unsigned integral vector.
4D unsigned integral vector.
2D floating-point vector.
3D floating-point vector.
4D floating-point vector.
2D floating-point (double) vector.
3D floating-point (double) vector.
4D floating-point (double) vector.
2D boolean vector.
3D boolean vector.
4D boolean vector.
2×2 floating-point matrix.
3×3 floating-point matrix.
4×4 floating-point matrix.
2×2 floating-point (double) matrix.
3×3 floating-point (double) matrix.
4×4 floating-point (double) matrix.
Signed integral 1D texture sampler.
Signed integral 2D texture sampler.
Signed integral 3D texture sampler.
Signed integral 1D array texture sampler.
Signed integral 2D array texture sampler.
Unsigned integral 1D texture sampler.
Unsigned integral 2D texture sampler.
Unsigned integral 3D texture sampler.
Unsigned integral 1D array texture sampler.
Unsigned integral 2D array texture sampler.
Floating-point 1D texture sampler.
Floating-point 2D texture sampler.
Floating-point 3D texture sampler.
Floating-point 1D array texture sampler.
Floating-point 2D array texture sampler.
Signed cubemap sampler.
Unsigned cubemap sampler.
Floating-point cubemap sampler.
Buffer binding; used for UBOs.
Trait Implementations
impl Clone for UniformType
[src]
pub fn clone(&self) -> UniformType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for UniformType
[src]
impl Debug for UniformType
[src]
impl Display for UniformType
[src]
impl Eq for UniformType
[src]
impl PartialEq<UniformType> for UniformType
[src]
pub fn eq(&self, other: &UniformType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for UniformType
[src]
impl StructuralPartialEq for UniformType
[src]
Auto Trait Implementations
impl RefUnwindSafe for UniformType
[src]
impl Send for UniformType
[src]
impl Sync for UniformType
[src]
impl Unpin for UniformType
[src]
impl UnwindSafe for UniformType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,