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

Failed to create a buffer.

A render target with the given name does not exist.

Failed to initialize a render pass.

Failed to create a pipeline state object (PSO).

Failed to create thread pool.

Failed to create and link a shader program.

Failed to create a resource view.

Failed to interact with the ECS.

Failed to create a render target.

Failed to create a texture resource.

The window handle associated with the renderer has been destroyed.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<CombinedError> for Error
[src]

Performs the conversion.

impl From<PipelineStateError<String>> for Error
[src]

Performs the conversion.

impl From<ResourceViewError> for Error
[src]

Performs the conversion.

impl From<CreationError> for Error
[src]

Performs the conversion.

impl From<ProgramError> for Error
[src]

Performs the conversion.

impl From<CreationError> for Error
[src]

Performs the conversion.

impl From<CreationError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error