Enum luminance::tess::TessMapError [−][src]
#[non_exhaustive] pub enum TessMapError { BufferMapError(BufferError), VertexTypeMismatch(VertexDesc, VertexDesc), IndexTypeMismatch(TessIndexType, TessIndexType), ForbiddenAttributelessMapping, ForbiddenDeinterleavedMapping, }
Expand description
Error that can occur while trying to map GPU tessellations to host code.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
BufferMapError(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.
The CPU mapping failed because you cannot map an attributeless tessellation since it doesn’t have any vertex attribute.
The CPU mapping failed because currently, mapping deinterleaved buffers is not supported via a single slice.
Implementations
The CPU mapping failed due to buffer errors.
Vertex target type is not the same as the one stored in the buffer.
Index target type is not the same as the one stored in the buffer.
The CPU mapping failed because you cannot map an attributeless tessellation since it doesn’t have any vertex attribute.
The CPU mapping failed because currently, mapping deinterleaved buffers is not supported via a single slice.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TessMapError
impl Send for TessMapError
impl Sync for TessMapError
impl Unpin for TessMapError
impl UnwindSafe for TessMapError