[][src]Enum luminance::tess::TessMapError

pub enum TessMapError {
    VertexBufferMapFailed(BufferError),
    IndexBufferMapFailed(BufferError),
    VertexTypeMismatch(VertexDescVertexDesc),
    IndexTypeMismatch(TessIndexTypeTessIndexType),
    ForbiddenAttributelessMapping,
    ForbiddenDeinterleavedMapping,
}

Error that can occur while trying to map GPU tessellation to host code.

Variants

VertexBufferMapFailed(BufferError)

The CPU mapping failed due to buffer errors.

IndexBufferMapFailed(BufferError)

The CPU mapping failed due to buffer errors.

VertexTypeMismatch(VertexDescVertexDesc)

Vertex target type is not the same as the one stored in the buffer.

IndexTypeMismatch(TessIndexTypeTessIndexType)

Index target type is not the same as the one stored in the buffer.

ForbiddenAttributelessMapping

The CPU mapping failed because you cannot map an attributeless tessellation since it doesn’t have any vertex attribute.

ForbiddenDeinterleavedMapping

The CPU mapping failed because currently, mapping deinterleaved buffers is not supported via a single slice.

Trait Implementations

impl Eq for TessMapError[src]

impl PartialEq<TessMapError> for TessMapError[src]

impl Debug for TessMapError[src]

impl Display for TessMapError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]