pub struct TextureMapParameters { /* private fields */ }Implementations§
Source§impl TextureMapParameters
impl TextureMapParameters
pub fn new(format: RenderFormat) -> Self
pub fn from_texture_map(texture: &TextureMap) -> Self
pub fn texture_type(&self) -> TextureType
pub fn interpret_as(&self) -> InterpretAs
pub fn dimensions(&self) -> Dimensions
pub fn flags(&self) -> TextureFlags
pub fn format(&self) -> RenderFormat
pub fn num_mip_levels(&self) -> MipLevels
pub fn default_mip_level(&self) -> u8
pub fn texd_identifier(&self) -> u32
pub fn mip_filter(&self) -> MipFilter
pub fn set_texture_type(&mut self, texture_type: TextureType)
pub fn set_interpret_as(&mut self, interpret_as: InterpretAs)
pub fn set_flags(&mut self, flags: TextureFlags)
pub fn set_format(&mut self, format: RenderFormat)
pub fn set_num_mip_levels(&mut self, num_mip_levels: MipLevels)
pub fn set_default_mip_level(&mut self, default_mip_level: u8)
pub fn set_mip_filter(&mut self, mip_filter: MipFilter)
Trait Implementations§
Source§impl Clone for TextureMapParameters
impl Clone for TextureMapParameters
Source§fn clone(&self) -> TextureMapParameters
fn clone(&self) -> TextureMapParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextureMapParameters
impl Debug for TextureMapParameters
impl Copy for TextureMapParameters
Auto Trait Implementations§
impl Freeze for TextureMapParameters
impl RefUnwindSafe for TextureMapParameters
impl Send for TextureMapParameters
impl Sync for TextureMapParameters
impl Unpin for TextureMapParameters
impl UnwindSafe for TextureMapParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more