Enum EnvironmentMap

pub enum EnvironmentMap

If this attribute is present, it describes how this texture should be projected onto an environment.

Variants

LatitudeLongitude

This image is an environment map projected like a world map.

Cube

This image contains the six sides of a cube.

Implementations

impl EnvironmentMap

const fn byte_size() -> usize

Number of bytes this would consume in an exr file.

fn write<W: Write>(self, write: &mut W) -> UnitResult

Without validation, write this instance to the byte stream.

fn read<R: Read>(read: &mut R) -> Result<Self>

Read the value without validating.

Trait Implementations

impl Clone for EnvironmentMap

fn clone(&self) -> Self

impl Copy for EnvironmentMap

impl Debug for EnvironmentMap

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for EnvironmentMap

impl Hash for EnvironmentMap

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for EnvironmentMap

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for EnvironmentMap

Auto Trait Implementations

impl Freeze for EnvironmentMap

impl RefUnwindSafe for EnvironmentMap

impl Send for EnvironmentMap

impl Sync for EnvironmentMap

impl Unpin for EnvironmentMap

impl UnsafeUnpin for EnvironmentMap

impl UnwindSafe for EnvironmentMap

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for EnvironmentMap where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for EnvironmentMap where ST: ?Sized, DT: ?Sized,

impl<T> Any for EnvironmentMap where T: 'static + ?Sized,

impl<T> Borrow<T> for EnvironmentMap where T: ?Sized,

impl<T> BorrowMut<T> for EnvironmentMap where T: ?Sized,

impl<T> CloneToUninit for EnvironmentMap where T: Clone,

impl<T> From<T> for EnvironmentMap

impl<T> Pointable for EnvironmentMap

impl<T> Read<Exclusive, BecauseExclusive> for EnvironmentMap where T: ?Sized,

impl<T> ToOwned for EnvironmentMap where T: Clone,

impl<T, U> Into<U> for EnvironmentMap where U: From<T>,

impl<T, U> TryFrom<U> for EnvironmentMap where U: Into<T>,

impl<T, U> TryInto<U> for EnvironmentMap where U: TryFrom<T>,