Enum wgpu_core::pipeline::CreateRenderPipelineError[][src]

pub enum CreateRenderPipelineError {
Show variants Device(DeviceError), InvalidLayout, Implicit(ImplicitLayoutError), ColorState(u8ColorStateError), InvalidSampleCount(u32), TooManyVertexBuffers { given: u32, limit: u32, }, TooManyVertexAttributes { given: u32, limit: u32, }, VertexStrideTooLarge { index: u32, given: u32, limit: u32, }, UnalignedVertexStride { index: u32, stride: BufferAddress, }, InvalidVertexAttributeOffset { location: ShaderLocation, offset: BufferAddress, }, StripIndexFormatForNonStripTopology { strip_index_format: Option<IndexFormat>, topology: PrimitiveTopology, }, ConservativeRasterizationNonFillPolygonMode, MissingFeature(Features), Stage { stage: ShaderStage, error: StageError, }, Internal { stage: ShaderStage, error: String, },
}

Variants

Device(DeviceError)
InvalidLayout
ColorState(u8ColorStateError)
InvalidSampleCount(u32)
TooManyVertexBuffers
Show fields

Fields of TooManyVertexBuffers

given: u32limit: u32
TooManyVertexAttributes
Show fields

Fields of TooManyVertexAttributes

given: u32limit: u32
VertexStrideTooLarge
Show fields

Fields of VertexStrideTooLarge

index: u32given: u32limit: u32
UnalignedVertexStride
Show fields

Fields of UnalignedVertexStride

index: u32stride: BufferAddress
InvalidVertexAttributeOffset
Show fields

Fields of InvalidVertexAttributeOffset

location: ShaderLocationoffset: BufferAddress
StripIndexFormatForNonStripTopology
Show fields

Fields of StripIndexFormatForNonStripTopology

strip_index_format: Option<IndexFormat>topology: PrimitiveTopology
ConservativeRasterizationNonFillPolygonMode
MissingFeature(Features)
Stage
Show fields

Fields of Stage

stage: ShaderStageerror: StageError
Internal
Show fields

Fields of Internal

stage: ShaderStageerror: String

Trait Implementations

impl Clone for CreateRenderPipelineError[src]

impl Debug for CreateRenderPipelineError[src]

impl Display for CreateRenderPipelineError[src]

impl Error for CreateRenderPipelineError[src]

impl From<DeviceError> for CreateRenderPipelineError[src]

impl From<ImplicitLayoutError> for CreateRenderPipelineError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Downcast<T> for T

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Upcast<T> for T