Struct rin::gl::texture::TextureSampler[][src]

pub struct TextureSampler<'a> { /* fields omitted */ }

Implementations

impl<'a> TextureSampler<'a>[src]

pub fn width(&self) -> u32[src]

Returns the width of the allocated texture

pub fn height(&self) -> u32[src]

Returns the height of the allocated texture

pub fn samples(&self) -> u32[src]

Returns the samples of the allocated texture

pub fn levels(&self) -> u32[src]

Returns the number of allocated levels

pub fn texture_id(&self) -> u32[src]

Returns the texture GL id

pub fn sampler_id(&self) -> u32[src]

Returns the sampler GL id

pub fn target(&self) -> u32[src]

Returns the texture target

pub fn internal_format(&self) -> u32[src]

Returns the internal format

Trait Implementations

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<'a> Clone for TextureSampler<'a>[src]

impl<'a> Render2d for TextureSampler<'a>[src]

type Material = BasicMaterial<TextureSampler<'a>>

impl<'a> TextureUniformValue for TextureSampler<'a>[src]

impl<'a> Copy for TextureSampler<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for TextureSampler<'a>

impl<'a> !Send for TextureSampler<'a>

impl<'a> !Sync for TextureSampler<'a>

impl<'a> Unpin for TextureSampler<'a>

impl<'a> !UnwindSafe for TextureSampler<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> Slottable for T where
    T: Copy
[src]