Enum amethyst_renderer::error::Error [−][src]
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
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.
TargetCreation(CombinedError)Failed to create a render target.
TextureCreation(CreationError)Failed to create a texture resource.
WindowDestroyedThe window handle associated with the renderer has been destroyed.
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl StdError for Error[src]
impl StdError for Errorfn description(&self) -> &str[src]
fn description(&self) -> &strThis 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 Errorfn fmt(&self, fmt: &mut Formatter) -> FmtResult[src]
fn fmt(&self, fmt: &mut Formatter) -> FmtResultFormats the value using the given formatter. Read more
impl From<CombinedError> for Error[src]
impl From<CombinedError> for Errorimpl From<PipelineStateError<String>> for Error[src]
impl From<PipelineStateError<String>> for Errorimpl From<ResourceViewError> for Error[src]
impl From<ResourceViewError> for Errorimpl From<CreationError> for Error[src]
impl From<CreationError> for Errorimpl From<ProgramError> for Error[src]
impl From<ProgramError> for Errorimpl From<CreationError> for Error[src]
impl From<CreationError> for Errorimpl From<CreationError> for Error[src]
impl From<CreationError> for Error