[−][src]Struct three_d::core::texture::Texture2DArray
Fields
width: usize
height: usize
depth: usize
Methods
impl Texture2DArray
[src]
pub fn new(
gl: &Gl,
width: usize,
height: usize,
depth: usize,
min_filter: Interpolation,
mag_filter: Interpolation,
wrap_s: Wrapping,
wrap_t: Wrapping
) -> Result<Self, Error>
[src]
gl: &Gl,
width: usize,
height: usize,
depth: usize,
min_filter: Interpolation,
mag_filter: Interpolation,
wrap_s: Wrapping,
wrap_t: Wrapping
) -> Result<Self, Error>
pub fn new_empty(
gl: &Gl,
width: usize,
height: usize,
depth: usize,
min_filter: Interpolation,
mag_filter: Interpolation,
wrap_s: Wrapping,
wrap_t: Wrapping,
format: Format
) -> Result<Self, Error>
[src]
gl: &Gl,
width: usize,
height: usize,
depth: usize,
min_filter: Interpolation,
mag_filter: Interpolation,
wrap_s: Wrapping,
wrap_t: Wrapping,
format: Format
) -> Result<Self, Error>
pub fn set_interpolation(
&self,
min_filter: Interpolation,
mag_filter: Interpolation
)
[src]
&self,
min_filter: Interpolation,
mag_filter: Interpolation
)
pub fn set_wrapping(&self, wrap_s: Wrapping, wrap_t: Wrapping)
[src]
Trait Implementations
impl Drop for Texture2DArray
[src]
impl Texture for Texture2DArray
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Texture2DArray
impl !Send for Texture2DArray
impl !Sync for Texture2DArray
impl Unpin for Texture2DArray
impl UnwindSafe for Texture2DArray
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,