Trait glium::uniforms::AsUniformValue
[−]
[src]
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
.
Implementors
impl<'a, T: ?Sized> AsUniformValue for &'a UniformBuffer<T> where T: UniformBlock + Content
impl AsUniformValue for i8
impl AsUniformValue for u8
impl AsUniformValue for i16
impl AsUniformValue for u16
impl AsUniformValue for i32
impl AsUniformValue for [i32; 2]
impl AsUniformValue for (i32, i32)
impl AsUniformValue for [i32; 3]
impl AsUniformValue for (i32, i32, i32)
impl AsUniformValue for [i32; 4]
impl AsUniformValue for (i32, i32, i32, i32)
impl AsUniformValue for u32
impl AsUniformValue for [u32; 2]
impl AsUniformValue for (u32, u32)
impl AsUniformValue for [u32; 3]
impl AsUniformValue for (u32, u32, u32)
impl AsUniformValue for [u32; 4]
impl AsUniformValue for (u32, u32, u32, u32)
impl AsUniformValue for bool
impl AsUniformValue for [bool; 2]
impl AsUniformValue for (bool, bool)
impl AsUniformValue for [bool; 3]
impl AsUniformValue for (bool, bool, bool)
impl AsUniformValue for [bool; 4]
impl AsUniformValue for (bool, bool, bool, bool)
impl AsUniformValue for f32
impl AsUniformValue for [[f32; 2]; 2]
impl AsUniformValue for [[f32; 3]; 3]
impl AsUniformValue for [[f32; 4]; 4]
impl AsUniformValue for (f32, f32)
impl AsUniformValue for (f32, f32, f32)
impl AsUniformValue for (f32, f32, f32, f32)
impl AsUniformValue for [f32; 2]
impl AsUniformValue for [f32; 3]
impl AsUniformValue for [f32; 4]
impl AsUniformValue for f64
impl AsUniformValue for [f64; 2]
impl AsUniformValue for (f64, f64)
impl AsUniformValue for [f64; 3]
impl AsUniformValue for (f64, f64, f64)
impl AsUniformValue for [f64; 4]
impl AsUniformValue for (f64, f64, f64, f64)
impl AsUniformValue for [[f64; 2]; 2]
impl AsUniformValue for [[f64; 3]; 3]
impl AsUniformValue for [[f64; 4]; 4]
impl AsUniformValue for i64
impl AsUniformValue for [i64; 2]
impl AsUniformValue for (i64, i64)
impl AsUniformValue for [i64; 3]
impl AsUniformValue for (i64, i64, i64)
impl AsUniformValue for [i64; 4]
impl AsUniformValue for (i64, i64, i64, i64)
impl AsUniformValue for u64
impl AsUniformValue for [u64; 2]
impl AsUniformValue for (u64, u64)
impl AsUniformValue for [u64; 3]
impl AsUniformValue for (u64, u64, u64)
impl AsUniformValue for [u64; 4]
impl AsUniformValue for (u64, u64, u64, u64)
impl<'a> AsUniformValue for (&'a str, ShaderStage)
impl<'a, T: ?Sized> AsUniformValue for &'a Buffer<T> where T: UniformBlock + BufferContent
impl<'a> AsUniformValue for TextureHandle<'a>
impl<T> AsUniformValue for BufferTexture<T> where [T]: BufferContent
impl<'a, T: 'a> AsUniformValue for &'a BufferTexture<T> where [T]: BufferContent
impl<'a> AsUniformValue for &'a Texture1d
impl<'a> AsUniformValue for Sampler<'a, Texture1d>
impl<'a> AsUniformValue for &'a CompressedTexture1d
impl<'a> AsUniformValue for Sampler<'a, CompressedTexture1d>
impl<'a> AsUniformValue for &'a SrgbTexture1d
impl<'a> AsUniformValue for Sampler<'a, SrgbTexture1d>
impl<'a> AsUniformValue for &'a CompressedSrgbTexture1d
impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture1d>
impl<'a> AsUniformValue for &'a IntegralTexture1d
impl<'a> AsUniformValue for Sampler<'a, IntegralTexture1d>
impl<'a> AsUniformValue for &'a UnsignedTexture1d
impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture1d>
impl<'a> AsUniformValue for &'a DepthTexture1d
impl<'a> AsUniformValue for Sampler<'a, DepthTexture1d>
impl<'a> AsUniformValue for &'a Texture2d
impl<'a> AsUniformValue for Sampler<'a, Texture2d>
impl<'a> AsUniformValue for &'a CompressedTexture2d
impl<'a> AsUniformValue for Sampler<'a, CompressedTexture2d>
impl<'a> AsUniformValue for &'a SrgbTexture2d
impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2d>
impl<'a> AsUniformValue for &'a CompressedSrgbTexture2d
impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture2d>
impl<'a> AsUniformValue for &'a IntegralTexture2d
impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2d>
impl<'a> AsUniformValue for &'a UnsignedTexture2d
impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2d>
impl<'a> AsUniformValue for &'a DepthTexture2d
impl<'a> AsUniformValue for Sampler<'a, DepthTexture2d>
impl<'a> AsUniformValue for &'a Texture2dMultisample
impl<'a> AsUniformValue for Sampler<'a, Texture2dMultisample>
impl<'a> AsUniformValue for &'a IntegralTexture2dMultisample
impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2dMultisample>
impl<'a> AsUniformValue for &'a SrgbTexture2dMultisample
impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2dMultisample>
impl<'a> AsUniformValue for &'a UnsignedTexture2dMultisample
impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2dMultisample>
impl<'a> AsUniformValue for &'a DepthTexture2dMultisample
impl<'a> AsUniformValue for Sampler<'a, DepthTexture2dMultisample>
impl<'a> AsUniformValue for &'a Texture3d
impl<'a> AsUniformValue for Sampler<'a, Texture3d>
impl<'a> AsUniformValue for &'a CompressedTexture3d
impl<'a> AsUniformValue for Sampler<'a, CompressedTexture3d>
impl<'a> AsUniformValue for &'a SrgbTexture3d
impl<'a> AsUniformValue for Sampler<'a, SrgbTexture3d>
impl<'a> AsUniformValue for &'a CompressedSrgbTexture3d
impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture3d>
impl<'a> AsUniformValue for &'a IntegralTexture3d
impl<'a> AsUniformValue for Sampler<'a, IntegralTexture3d>
impl<'a> AsUniformValue for &'a UnsignedTexture3d
impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture3d>
impl<'a> AsUniformValue for &'a DepthTexture3d
impl<'a> AsUniformValue for Sampler<'a, DepthTexture3d>
impl<'a> AsUniformValue for &'a Texture1dArray
impl<'a> AsUniformValue for Sampler<'a, Texture1dArray>
impl<'a> AsUniformValue for &'a CompressedTexture1dArray
impl<'a> AsUniformValue for Sampler<'a, CompressedTexture1dArray>
impl<'a> AsUniformValue for &'a SrgbTexture1dArray
impl<'a> AsUniformValue for Sampler<'a, SrgbTexture1dArray>
impl<'a> AsUniformValue for &'a CompressedSrgbTexture1dArray
impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture1dArray>
impl<'a> AsUniformValue for &'a IntegralTexture1dArray
impl<'a> AsUniformValue for Sampler<'a, IntegralTexture1dArray>
impl<'a> AsUniformValue for &'a UnsignedTexture1dArray
impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture1dArray>
impl<'a> AsUniformValue for &'a DepthTexture1dArray
impl<'a> AsUniformValue for Sampler<'a, DepthTexture1dArray>
impl<'a> AsUniformValue for &'a Texture2dArray
impl<'a> AsUniformValue for Sampler<'a, Texture2dArray>
impl<'a> AsUniformValue for &'a CompressedTexture2dArray
impl<'a> AsUniformValue for Sampler<'a, CompressedTexture2dArray>
impl<'a> AsUniformValue for &'a SrgbTexture2dArray
impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2dArray>
impl<'a> AsUniformValue for &'a CompressedSrgbTexture2dArray
impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbTexture2dArray>
impl<'a> AsUniformValue for &'a IntegralTexture2dArray
impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2dArray>
impl<'a> AsUniformValue for &'a UnsignedTexture2dArray
impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2dArray>
impl<'a> AsUniformValue for &'a DepthTexture2dArray
impl<'a> AsUniformValue for Sampler<'a, DepthTexture2dArray>
impl<'a> AsUniformValue for &'a Texture2dMultisampleArray
impl<'a> AsUniformValue for Sampler<'a, Texture2dMultisampleArray>
impl<'a> AsUniformValue for &'a SrgbTexture2dMultisampleArray
impl<'a> AsUniformValue for Sampler<'a, SrgbTexture2dMultisampleArray>
impl<'a> AsUniformValue for &'a IntegralTexture2dMultisampleArray
impl<'a> AsUniformValue for Sampler<'a, IntegralTexture2dMultisampleArray>
impl<'a> AsUniformValue for &'a UnsignedTexture2dMultisampleArray
impl<'a> AsUniformValue for Sampler<'a, UnsignedTexture2dMultisampleArray>
impl<'a> AsUniformValue for &'a DepthTexture2dMultisampleArray
impl<'a> AsUniformValue for Sampler<'a, DepthTexture2dMultisampleArray>
impl<'a> AsUniformValue for &'a Cubemap
impl<'a> AsUniformValue for Sampler<'a, Cubemap>
impl<'a> AsUniformValue for &'a CompressedCubemap
impl<'a> AsUniformValue for Sampler<'a, CompressedCubemap>
impl<'a> AsUniformValue for &'a SrgbCubemap
impl<'a> AsUniformValue for Sampler<'a, SrgbCubemap>
impl<'a> AsUniformValue for &'a CompressedSrgbCubemap
impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbCubemap>
impl<'a> AsUniformValue for &'a IntegralCubemap
impl<'a> AsUniformValue for Sampler<'a, IntegralCubemap>
impl<'a> AsUniformValue for &'a UnsignedCubemap
impl<'a> AsUniformValue for Sampler<'a, UnsignedCubemap>
impl<'a> AsUniformValue for &'a DepthCubemap
impl<'a> AsUniformValue for Sampler<'a, DepthCubemap>
impl<'a> AsUniformValue for &'a CubemapArray
impl<'a> AsUniformValue for Sampler<'a, CubemapArray>
impl<'a> AsUniformValue for &'a CompressedCubemapArray
impl<'a> AsUniformValue for Sampler<'a, CompressedCubemapArray>
impl<'a> AsUniformValue for &'a SrgbCubemapArray
impl<'a> AsUniformValue for Sampler<'a, SrgbCubemapArray>
impl<'a> AsUniformValue for &'a CompressedSrgbCubemapArray
impl<'a> AsUniformValue for Sampler<'a, CompressedSrgbCubemapArray>
impl<'a> AsUniformValue for &'a IntegralCubemapArray
impl<'a> AsUniformValue for Sampler<'a, IntegralCubemapArray>
impl<'a> AsUniformValue for &'a UnsignedCubemapArray
impl<'a> AsUniformValue for Sampler<'a, UnsignedCubemapArray>
impl<'a> AsUniformValue for &'a DepthCubemapArray
impl<'a> AsUniformValue for Sampler<'a, DepthCubemapArray>