Enum wgpu_core::pipeline::CreateRenderPipelineError [−][src]
pub enum CreateRenderPipelineError {
Show 17 variants
Device(DeviceError),
InvalidLayout,
Implicit(ImplicitLayoutError),
ColorState(u8, ColorStateError),
DepthStencilState(DepthStencilStateError),
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,
MissingFeatures(MissingFeatures),
MissingDownlevelFlags(MissingDownlevelFlags),
Stage {
stage: ShaderStages,
error: StageError,
},
Internal {
stage: ShaderStages,
error: String,
},
}
Variants
Device(DeviceError)
Tuple Fields of Device
0: DeviceError
Implicit(ImplicitLayoutError)
Tuple Fields of Implicit
ColorState(u8, ColorStateError)
Tuple Fields of ColorState
0: u8
1: ColorStateError
DepthStencilState(DepthStencilStateError)
Tuple Fields of DepthStencilState
InvalidSampleCount(u32)
Tuple Fields of InvalidSampleCount
0: u32
Fields of UnalignedVertexStride
index: u32
stride: BufferAddress
Fields of InvalidVertexAttributeOffset
location: ShaderLocation
offset: BufferAddress
Fields of StripIndexFormatForNonStripTopology
strip_index_format: Option<IndexFormat>
topology: PrimitiveTopology
MissingFeatures(MissingFeatures)
Tuple Fields of MissingFeatures
MissingDownlevelFlags(MissingDownlevelFlags)
Tuple Fields of MissingDownlevelFlags
Fields of Stage
stage: ShaderStages
error: StageError
Fields of Internal
stage: ShaderStages
error: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CreateRenderPipelineError
impl Send for CreateRenderPipelineError
impl Sync for CreateRenderPipelineError
impl Unpin for CreateRenderPipelineError
impl !UnwindSafe for CreateRenderPipelineError
Blanket Implementations
Mutably borrows from an owned value. Read more