[][src]Struct three_d::core::texture::Texture3D

pub struct Texture3D { /* fields omitted */ }

Methods

impl Texture3D[src]

pub fn new(
    gl: &Gl,
    min_filter: Interpolation,
    mag_filter: Interpolation,
    wrap_s: Wrapping,
    wrap_t: Wrapping,
    wrap_r: Wrapping
) -> Result<Texture3D, Error>
[src]

pub fn new_from_bytes(
    gl: &Gl,
    min_filter: Interpolation,
    mag_filter: Interpolation,
    wrap_s: Wrapping,
    wrap_t: Wrapping,
    wrap_r: Wrapping,
    back_bytes: &[u8],
    front_bytes: &[u8],
    top_bytes: &[u8],
    left_bytes: &[u8],
    right_bytes: &[u8]
) -> Result<Texture3D, Error>
[src]

pub fn new_from_files(
    gl: &Gl,
    min_filter: Interpolation,
    mag_filter: Interpolation,
    wrap_s: Wrapping,
    wrap_t: Wrapping,
    wrap_r: Wrapping,
    path: &str,
    back_name: &str,
    front_name: &str,
    top_name: &str,
    left_name: &str,
    right_name: &str
) -> Result<Texture3D, Error>
[src]

pub fn set_interpolation(
    &self,
    min_filter: Interpolation,
    mag_filter: Interpolation
)
[src]

pub fn set_wrapping(&self, wrap_s: Wrapping, wrap_t: Wrapping, wrap_r: Wrapping)[src]

pub fn fill_with_u8(
    &mut self,
    width: usize,
    height: usize,
    data: [&mut [u8]; 6]
)
[src]

Trait Implementations

impl Drop for Texture3D[src]

impl Texture for Texture3D[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Erased for T

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

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

impl<T> SetParameter for T

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.