Struct glitter::context::texture_units::TextureSampler
[−]
[src]
#[repr(C)]pub struct TextureSampler { /* fields omitted */ }
A newtype wrapper representing a texture sampler, which can be
used to set a uniform variable, using gl.set_uniform
.
Trait Implementations
impl Debug for TextureSampler
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TextureSampler
[src]
fn clone(&self) -> TextureSampler
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for TextureSampler
[src]
impl UniformDatum for TextureSampler
[src]
fn uniform_datum_type() -> UniformDatumType
[src]
Return the data type this datum corresponds to. Read more