pub enum TextureEdges {
Seams,
Outline,
}Expand description
What the edges of a mesh’s texture are on the mesh, which decides how its outline is drawn.
Variants§
Seams
Seams, or no edges at all: the texture wraps a closed shape, as on a sphere, or each face shows it whole, as on a cube. The renderer draws the mesh’s outline as its triangles cover pixels.
Outline
The mesh’s outline: the mesh is an open sheet, as a plane or a cloth, whose edges are the texture’s edges. The renderer covers a pixel the outline crosses in part, so the outline shows smooth at any angle.
Trait Implementations§
Source§impl Clone for TextureEdges
impl Clone for TextureEdges
Source§fn clone(&self) -> TextureEdges
fn clone(&self) -> TextureEdges
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextureEdges
Source§impl Debug for TextureEdges
impl Debug for TextureEdges
Source§impl Default for TextureEdges
impl Default for TextureEdges
Source§fn default() -> TextureEdges
fn default() -> TextureEdges
Returns the “default value” for a type. Read more
impl Eq for TextureEdges
Source§impl Hash for TextureEdges
impl Hash for TextureEdges
Source§impl PartialEq for TextureEdges
impl PartialEq for TextureEdges
impl StructuralPartialEq for TextureEdges
Auto Trait Implementations§
impl Forget for TextureEdges
impl Freeze for TextureEdges
impl Move for TextureEdges
impl RefUnwindSafe for TextureEdges
impl Send for TextureEdges
impl Sync for TextureEdges
impl Unpin for TextureEdges
impl UnsafeUnpin for TextureEdges
impl UnwindSafe for TextureEdges
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
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