[−][src]Enum luminance::tess::TessMapError
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(VertexDesc, VertexDesc)
Vertex target type is not the same as the one stored in the buffer.
IndexTypeMismatch(TessIndexType, TessIndexType)
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 PartialEq<TessMapError> for TessMapError
[src]
fn eq(&self, other: &TessMapError) -> bool
[src]
fn ne(&self, other: &TessMapError) -> bool
[src]
impl Eq for TessMapError
[src]
impl Display for TessMapError
[src]
impl Debug for TessMapError
[src]
Auto Trait Implementations
impl Send for TessMapError
impl Unpin for TessMapError
impl Sync for TessMapError
impl UnwindSafe for TessMapError
impl RefUnwindSafe for TessMapError
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,