pub struct TextureSlot3D { /* private fields */ }Expand description
Texture binding reference pairing a texture pool index, UV set, and optional KHR_texture_transform.
Implementations§
Source§impl TextureSlot3D
Constructors for TextureSlot3D.
impl TextureSlot3D
Constructors for TextureSlot3D.
Source§impl TextureSlot3D
impl TextureSlot3D
pub fn get_texture_index(&self) -> u32
pub fn get_mut_texture_index(&mut self) -> &mut u32
pub fn set_texture_index(&mut self, val: u32) -> &mut Self
pub fn get_tex_coord(&self) -> u8
pub fn get_mut_tex_coord(&mut self) -> &mut u8
pub fn set_tex_coord(&mut self, val: u8) -> &mut Self
pub fn get_transform(&self) -> TextureTransform3D
pub fn get_mut_transform(&mut self) -> &mut TextureTransform3D
pub fn set_transform(&mut self, val: TextureTransform3D) -> &mut Self
Trait Implementations§
Source§impl Clone for TextureSlot3D
impl Clone for TextureSlot3D
impl Copy for TextureSlot3D
Source§impl Debug for TextureSlot3D
impl Debug for TextureSlot3D
Source§impl PartialEq for TextureSlot3D
impl PartialEq for TextureSlot3D
impl StructuralPartialEq for TextureSlot3D
Auto Trait Implementations§
impl Forget for TextureSlot3D
impl Freeze for TextureSlot3D
impl Move for TextureSlot3D
impl RefUnwindSafe for TextureSlot3D
impl Send for TextureSlot3D
impl Sync for TextureSlot3D
impl Unpin for TextureSlot3D
impl UnsafeUnpin for TextureSlot3D
impl UnwindSafe for TextureSlot3D
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