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: DeviceErrorImplicit(ImplicitLayoutError)Tuple Fields of Implicit
ColorState(u8, ColorStateError)Tuple Fields of ColorState
0: u81: ColorStateErrorDepthStencilState(DepthStencilStateError)Tuple Fields of DepthStencilState
InvalidSampleCount(u32)Tuple Fields of InvalidSampleCount
0: u32Fields of UnalignedVertexStride
index: u32stride: BufferAddressFields of InvalidVertexAttributeOffset
location: ShaderLocationoffset: BufferAddressFields of StripIndexFormatForNonStripTopology
strip_index_format: Option<IndexFormat>topology: PrimitiveTopologyMissingFeatures(MissingFeatures)Tuple Fields of MissingFeatures
MissingDownlevelFlags(MissingDownlevelFlags)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