Enum vulkano::shader::ShaderCreationError [−][src]
pub enum ShaderCreationError {
OomError(OomError),
SpirvCapabilityNotSupported {
capability: Capability,
reason: ShaderSupportError,
},
SpirvError(SpirvError),
SpirvExtensionNotSupported {
extension: String,
reason: ShaderSupportError,
},
SpirvVersionNotSupported {
version: Version,
reason: ShaderSupportError,
},
}
Expand description
Error that can happen when creating a new shader module.
Variants
OomError(OomError)
Tuple Fields
0: OomError
SpirvCapabilityNotSupported
SpirvError(SpirvError)
Tuple Fields
0: SpirvError
SpirvExtensionNotSupported
SpirvVersionNotSupported
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ShaderCreationError
impl Send for ShaderCreationError
impl Sync for ShaderCreationError
impl Unpin for ShaderCreationError
impl UnwindSafe for ShaderCreationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.