[][src]Trait glium::uniforms::AsUniformValue

pub trait AsUniformValue {
    fn as_uniform_value(&self) -> UniformValue<'_>;
}

Value that can be used as the value of a uniform.

This includes buffers and textures for example.

Required methods

fn as_uniform_value(&self) -> UniformValue<'_>

Builds a UniformValue.

Loading content...

Implementations on Foreign Types

impl AsUniformValue for i8[src]

impl AsUniformValue for u8[src]

impl AsUniformValue for i16[src]

impl AsUniformValue for u16[src]

impl AsUniformValue for i32[src]

impl AsUniformValue for [i32; 2][src]

impl AsUniformValue for (i32, i32)[src]

impl AsUniformValue for [i32; 3][src]

impl AsUniformValue for (i32, i32, i32)[src]

impl AsUniformValue for [i32; 4][src]

impl AsUniformValue for (i32, i32, i32, i32)[src]

impl AsUniformValue for u32[src]

impl AsUniformValue for [u32; 2][src]

impl AsUniformValue for (u32, u32)[src]

impl AsUniformValue for [u32; 3][src]

impl AsUniformValue for (u32, u32, u32)[src]

impl AsUniformValue for [u32; 4][src]

impl AsUniformValue for (u32, u32, u32, u32)[src]

impl AsUniformValue for bool[src]

impl AsUniformValue for [bool; 2][src]

impl AsUniformValue for (bool, bool)[src]

impl AsUniformValue for [bool; 3][src]

impl AsUniformValue for (bool, bool, bool)[src]

impl AsUniformValue for [bool; 4][src]

impl AsUniformValue for (bool, bool, bool, bool)[src]

impl AsUniformValue for f32[src]

impl AsUniformValue for [[f32; 2]; 2][src]

impl AsUniformValue for [[f32; 3]; 3][src]

impl AsUniformValue for [[f32; 4]; 4][src]

impl AsUniformValue for (f32, f32)[src]

impl AsUniformValue for (f32, f32, f32)[src]

impl AsUniformValue for (f32, f32, f32, f32)[src]

impl AsUniformValue for [f32; 2][src]

impl AsUniformValue for [f32; 3][src]

impl AsUniformValue for [f32; 4][src]

impl AsUniformValue for f64[src]

impl AsUniformValue for [f64; 2][src]

impl AsUniformValue for (f64, f64)[src]

impl AsUniformValue for [f64; 3][src]

impl AsUniformValue for (f64, f64, f64)[src]

impl AsUniformValue for [f64; 4][src]

impl AsUniformValue for (f64, f64, f64, f64)[src]

impl AsUniformValue for [[f64; 2]; 2][src]

impl AsUniformValue for [[f64; 3]; 3][src]

impl AsUniformValue for [[f64; 4]; 4][src]

impl AsUniformValue for i64[src]

impl AsUniformValue for [i64; 2][src]

impl AsUniformValue for (i64, i64)[src]

impl AsUniformValue for [i64; 3][src]

impl AsUniformValue for (i64, i64, i64)[src]

impl AsUniformValue for [i64; 4][src]

impl AsUniformValue for (i64, i64, i64, i64)[src]

impl AsUniformValue for u64[src]

impl AsUniformValue for [u64; 2][src]

impl AsUniformValue for (u64, u64)[src]

impl AsUniformValue for [u64; 3][src]

impl AsUniformValue for (u64, u64, u64)[src]

impl AsUniformValue for [u64; 4][src]

impl AsUniformValue for (u64, u64, u64, u64)[src]

impl<'a> AsUniformValue for (&'a str, ShaderStage)[src]

Loading content...

Implementors

impl<'a> AsUniformValue for &'a CompressedCubemap[src]

impl<'a> AsUniformValue for &'a CompressedCubemapArray[src]

impl<'a> AsUniformValue for &'a CompressedSrgbCubemap[src]

impl<'a> AsUniformValue for &'a CompressedSrgbCubemapArray[src]

impl<'a> AsUniformValue for &'a CompressedSrgbTexture1d[src]

impl<'a> AsUniformValue for &'a CompressedSrgbTexture1dArray[src]

impl<'a> AsUniformValue for &'a CompressedSrgbTexture2d[src]

impl<'a> AsUniformValue for &'a CompressedSrgbTexture2dArray[src]

impl<'a> AsUniformValue for &'a CompressedSrgbTexture3d[src]

impl<'a> AsUniformValue for &'a CompressedTexture1d[src]

impl<'a> AsUniformValue for &'a CompressedTexture1dArray[src]

impl<'a> AsUniformValue for &'a CompressedTexture2d[src]

impl<'a> AsUniformValue for &'a CompressedTexture2dArray[src]

impl<'a> AsUniformValue for &'a CompressedTexture3d[src]

impl<'a> AsUniformValue for &'a Cubemap[src]

impl<'a> AsUniformValue for &'a CubemapArray[src]

impl<'a> AsUniformValue for &'a DepthCubemap[src]

impl<'a> AsUniformValue for &'a DepthCubemapArray[src]

impl<'a> AsUniformValue for &'a DepthTexture1d[src]

impl<'a> AsUniformValue for &'a DepthTexture1dArray[src]

impl<'a> AsUniformValue for &'a DepthTexture2d[src]

impl<'a> AsUniformValue for &'a DepthTexture2dArray[src]

impl<'a> AsUniformValue for &'a DepthTexture2dMultisample[src]

impl<'a> AsUniformValue for &'a DepthTexture2dMultisampleArray[src]

impl<'a> AsUniformValue for &'a DepthTexture3d[src]

impl<'a> AsUniformValue for &'a IntegralCubemap[src]

impl<'a> AsUniformValue for &'a IntegralCubemapArray[src]

impl<'a> AsUniformValue for &'a IntegralTexture1d[src]

impl<'a> AsUniformValue for &'a IntegralTexture1dArray[src]

impl<'a> AsUniformValue for &'a IntegralTexture2d[src]

impl<'a> AsUniformValue for &'a IntegralTexture2dArray[src]

impl<'a> AsUniformValue for &'a IntegralTexture2dMultisample[src]

impl<'a> AsUniformValue for &'a IntegralTexture2dMultisampleArray[src]

impl<'a> AsUniformValue for &'a IntegralTexture3d[src]

impl<'a> AsUniformValue for &'a SrgbCubemap[src]

impl<'a> AsUniformValue for &'a SrgbCubemapArray[src]

impl<'a> AsUniformValue for &'a SrgbTexture1d[src]

impl<'a> AsUniformValue for &'a SrgbTexture1dArray[src]

impl<'a> AsUniformValue for &'a SrgbTexture2d[src]

impl<'a> AsUniformValue for &'a SrgbTexture2dArray[src]

impl<'a> AsUniformValue for &'a SrgbTexture2dMultisample[src]

impl<'a> AsUniformValue for &'a SrgbTexture2dMultisampleArray[src]

impl<'a> AsUniformValue for &'a SrgbTexture3d[src]

impl<'a> AsUniformValue for &'a Texture1d[src]

impl<'a> AsUniformValue for &'a Texture1dArray[src]

impl<'a> AsUniformValue for &'a Texture2d[src]

impl<'a> AsUniformValue for &'a Texture2dArray[src]

impl<'a> AsUniformValue for &'a Texture2dMultisample[src]

impl<'a> AsUniformValue for &'a Texture2dMultisampleArray[src]

impl<'a> AsUniformValue for &'a Texture3d[src]

impl<'a> AsUniformValue for &'a UnsignedCubemap[src]

impl<'a> AsUniformValue for &'a UnsignedCubemapArray[src]

impl<'a> AsUniformValue for &'a UnsignedTexture1d[src]

impl<'a> AsUniformValue for &'a UnsignedTexture1dArray[src]

impl<'a> AsUniformValue for &'a UnsignedTexture2d[src]

impl<'a> AsUniformValue for &'a UnsignedTexture2dArray[src]

impl<'a> AsUniformValue for &'a UnsignedTexture2dMultisample[src]

impl<'a> AsUniformValue for &'a UnsignedTexture2dMultisampleArray[src]

impl<'a> AsUniformValue for &'a UnsignedTexture3d[src]

impl<'a> AsUniformValue for TextureHandle<'a>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedCubemap>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedCubemapArray>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbCubemap>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbCubemapArray>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture1d>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture1dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture2d>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture2dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture3d>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedTexture1d>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedTexture1dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedTexture2d>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedTexture2dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, CompressedTexture3d>[src]

impl<'a> AsUniformValue for Sampler<'a, Cubemap>[src]

impl<'a> AsUniformValue for Sampler<'a, CubemapArray>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthCubemap>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthCubemapArray>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthTexture1d>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthTexture1dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthTexture2d>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthTexture2dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthTexture2dMultisample>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthTexture2dMultisampleArray>[src]

impl<'a> AsUniformValue for Sampler<'a, DepthTexture3d>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralCubemap>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralCubemapArray>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralTexture1d>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralTexture1dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2d>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2dMultisample>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2dMultisampleArray>[src]

impl<'a> AsUniformValue for Sampler<'a, IntegralTexture3d>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbCubemap>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbCubemapArray>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbTexture1d>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbTexture1dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2d>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2dMultisample>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2dMultisampleArray>[src]

impl<'a> AsUniformValue for Sampler<'a, SrgbTexture3d>[src]

impl<'a> AsUniformValue for Sampler<'a, Texture1d>[src]

impl<'a> AsUniformValue for Sampler<'a, Texture1dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, Texture2d>[src]

impl<'a> AsUniformValue for Sampler<'a, Texture2dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, Texture2dMultisample>[src]

impl<'a> AsUniformValue for Sampler<'a, Texture2dMultisampleArray>[src]

impl<'a> AsUniformValue for Sampler<'a, Texture3d>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedCubemap>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedCubemapArray>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture1d>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture1dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2d>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2dArray>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2dMultisample>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2dMultisampleArray>[src]

impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture3d>[src]

impl<'a, T: 'a> AsUniformValue for &'a BufferTexture<T> where
    [T]: BufferContent
[src]

impl<'a, T: ?Sized> AsUniformValue for &'a Buffer<T> where
    T: UniformBlock + BufferContent
[src]

impl<'a, T: ?Sized> AsUniformValue for &'a UniformBuffer<T> where
    T: UniformBlock + Content
[src]

impl<T> AsUniformValue for BufferTexture<T> where
    [T]: BufferContent
[src]

Loading content...