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
Tuple Fields of Device
0: DeviceErrorTuple Fields of Implicit
Tuple Fields of ColorState
0: u81: ColorStateErrorTuple Fields of DepthStencilState
Tuple Fields of InvalidSampleCount
0: u32Fields of UnalignedVertexStride
index: u32stride: BufferAddressFields of InvalidVertexAttributeOffset
location: ShaderLocationoffset: BufferAddressFields of StripIndexFormatForNonStripTopology
strip_index_format: Option<IndexFormat>topology: PrimitiveTopologyTuple Fields of MissingFeatures
Tuple Fields of MissingDownlevelFlags
Fields of Stage
stage: ShaderStageserror: StageErrorFields of Internal
stage: ShaderStageserror: StringTrait 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