pub struct Texture {
pub texcoord: u32,
pub file_name: String,
pub transformations: Vec<Transformation>,
pub animation: Vec<Animation>,
}Expand description
The Texture structure holds information about a single texture map, and how it is accessed with texture coordinates.
Fields§
§texcoord: u32The index of the texture coordinate set associated with the texture.
file_name: StringA substructure holding the file name of the texture.
transformations: Vec<Transformation>Any number of transformations that are applied to the texture coordinates of a mesh when they are used to fetch from the texture map.
animation: Vec<Animation>Any number of animation tracks that are applied to the texture coordinate transformations.
Auto Trait Implementations§
impl Freeze for Texture
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnwindSafe for Texture
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