Type Alias Tex2d

Source
pub type Tex2d<S, F> = Tex<S, F, GL_TEXTURE_2D>;

Aliased Type§

struct Tex2d<S, F> {
    pub param: TexParam,
    /* private fields */
}

Fields§

§param: TexParam

Implementations§

Source§

impl<S, F> Tex2d<S, F>

Source

pub fn Cast<RS: TexSize, RF: TexFmt>(&self, minification: i32) -> Tex2d<RS, RF>

Source§

impl<S: TexSize, F: TexFmt> Tex2d<S, F>

Source

pub fn from_type<RS: TexSize, RF: TexFmt>(img: &Image<RS, RF>) -> Self

Trait Implementations§

Source§

impl<S: TexSize, F: TexFmt, T: Borrow<Image<S, F>>> From<T> for Tex2d<S, F>

Source§

fn from(img: T) -> Self

Converts to this type from the input type.