Enum gfx_core::factory::TargetViewError [] [src]

pub enum TargetViewError {
    NoBindFlag,
    Level(Level),
    Layer(LayerError),
    Channel(ChannelType),
    Unsupported,
    NotDetached,
}

Error creating either a RenderTargetView, or DepthStencilView.

Variants

The RENDER_TARGET/DEPTH_STENCIL flag is not present in the texture.

Selected mip level doesn't exist.

Selected array layer doesn't exist.

Selected channel type is not supported for this texture.

The backend was refused for some reason.

The RTV cannot be changed due to the references to it existing.

Trait Implementations

impl Clone for TargetViewError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TargetViewError
[src]

Formats the value using the given formatter.

impl PartialEq for TargetViewError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for TargetViewError
[src]

Formats the value using the given formatter. Read more

impl Error for TargetViewError
[src]

A short description of the error. Read more

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