Enum amethyst_renderer::error::Error [−][src]
pub enum Error { BufferCreation(CreationError), NoSuchTarget(String), PassInit(PipelineStateError<String>), PipelineCreation(CreationError), PoolCreation(String), ProgramCreation(ProgramError), ResViewCreation(ResourceViewError), SpecsError(Error), TargetCreation(CombinedError), TextureCreation(CreationError), WindowDestroyed, }
Common renderer error type.
Variants
BufferCreation(CreationError)
Failed to create a buffer.
NoSuchTarget(String)
A render target with the given name does not exist.
PassInit(PipelineStateError<String>)
Failed to initialize a render pass.
PipelineCreation(CreationError)
Failed to create a pipeline state object (PSO).
PoolCreation(String)
Failed to create thread pool.
ProgramCreation(ProgramError)
Failed to create and link a shader program.
ResViewCreation(ResourceViewError)
Failed to create a resource view.
SpecsError(Error)
Failed to interact with the ECS.
TargetCreation(CombinedError)
Failed to create a render target.
TextureCreation(CreationError)
Failed to create a texture resource.
WindowDestroyed
The window handle associated with the renderer has been destroyed.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
impl StdError for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&StdError>
[src]
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, fmt: &mut Formatter) -> FmtResult
[src]
fn fmt(&self, fmt: &mut Formatter) -> FmtResult
Formats the value using the given formatter. Read more
impl From<CombinedError> for Error
[src]
impl From<CombinedError> for Error
fn from(e: CombinedError) -> Error
[src]
fn from(e: CombinedError) -> Error
Performs the conversion.
impl From<PipelineStateError<String>> for Error
[src]
impl From<PipelineStateError<String>> for Error
fn from(e: PipelineStateError<String>) -> Error
[src]
fn from(e: PipelineStateError<String>) -> Error
Performs the conversion.
impl From<ResourceViewError> for Error
[src]
impl From<ResourceViewError> for Error
fn from(e: ResourceViewError) -> Error
[src]
fn from(e: ResourceViewError) -> Error
Performs the conversion.
impl From<CreationError> for Error
[src]
impl From<CreationError> for Error
fn from(e: CreationError) -> Error
[src]
fn from(e: CreationError) -> Error
Performs the conversion.
impl From<ProgramError> for Error
[src]
impl From<ProgramError> for Error
fn from(e: ProgramError) -> Error
[src]
fn from(e: ProgramError) -> Error
Performs the conversion.
impl From<CreationError> for Error
[src]
impl From<CreationError> for Error
fn from(e: CreationError) -> Error
[src]
fn from(e: CreationError) -> Error
Performs the conversion.
impl From<CreationError> for Error
[src]
impl From<CreationError> for Error
fn from(e: CreationError) -> Error
[src]
fn from(e: CreationError) -> Error
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error