Struct bismuth::render::Texture [] [src]

pub struct Texture<R, T> where
    R: Resources,
    T: TextureFormat, 
{ pub surface: Texture<R, T::Surface>, pub view: ShaderResourceView<R, T::View>, pub sampler: Sampler<R>, }

Fields

Methods

impl<R, T> Texture<R, T> where
    R: Resources,
    T: TextureFormat,
    T::View: Clone
[src]

impl<R, C> Texture<R, (R8_G8_B8_A8, C)> where
    R: Resources,
    C: NormalizedChannel + TextureChannel + UnsignedChannel,
    (R8_G8_B8_A8, C): TextureFormat, 
[src]

impl<R> Texture<R, Rgba8> where
    R: Resources, 
[src]

Trait Implementations

impl<R: Clone, T: Clone> Clone for Texture<R, T> where
    R: Resources,
    T: TextureFormat,
    T::Surface: Clone,
    T::View: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more