Enum amethyst_renderer::Error []

pub enum Error {
    BufferCreation(CreationError),
    NoSuchTarget(String),
    PassInit(PipelineStateError<String>),
    PipelineCreation(CreationError),
    PoolCreation(String),
    ProgramCreation(ProgramError),
    ResViewCreation(ResourceViewError),
    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 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.

impl StdError for Error
[src]

A short description of the error. 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.