pub enum CreateRenderPipelineError {
Device(DeviceError),
InvalidLayout,
Implicit(ImplicitLayoutError),
MissingOutput {
index: u8,
},
IncompatibleOutputFormat {
index: u8,
},
InvalidSampleCount(u32),
UnalignedVertexStride {
index: u32,
stride: BufferAddress,
},
InvalidVertexAttributeOffset {
location: ShaderLocation,
offset: BufferAddress,
},
MissingFeature(Features),
Stage {
flag: ShaderStage,
error: StageError,
},
}Variants§
Device(DeviceError)
InvalidLayout
Implicit(ImplicitLayoutError)
MissingOutput
IncompatibleOutputFormat
InvalidSampleCount(u32)
UnalignedVertexStride
InvalidVertexAttributeOffset
MissingFeature(Features)
Stage
Trait Implementations§
source§impl Clone for CreateRenderPipelineError
impl Clone for CreateRenderPipelineError
source§fn clone(&self) -> CreateRenderPipelineError
fn clone(&self) -> CreateRenderPipelineError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateRenderPipelineError
impl Debug for CreateRenderPipelineError
source§impl Display for CreateRenderPipelineError
impl Display for CreateRenderPipelineError
source§impl Error for CreateRenderPipelineError
impl Error for CreateRenderPipelineError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DeviceError> for CreateRenderPipelineError
impl From<DeviceError> for CreateRenderPipelineError
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
source§impl From<ImplicitLayoutError> for CreateRenderPipelineError
impl From<ImplicitLayoutError> for CreateRenderPipelineError
source§fn from(source: ImplicitLayoutError) -> Self
fn from(source: ImplicitLayoutError) -> Self
Converts to this type from the input type.