Enum gfx::render::DrawError [] [src]

pub enum DrawError<E> {
    InvalidBatch(E),
    MissingTarget(Mask),
    BadViewport,
    BadVertexCount,
    BadIndexCount,
}

Draw-time error, showing inconsistencies in draw parameters and data

Variants

InvalidBatch(E)

Tha batch is not valid

MissingTarget(Mask)

The DrawState interacts with a target that does not present in the frame. For example, the depth test is enabled while there is no depth.

BadViewport

The viewport either covers zero space or exceeds HW limitations.

BadVertexCount

Vertex count exceeds HW limitations.

BadIndexCount

Index count exceeds HW limitations.

Trait Implementations

impl<E: PartialEq> PartialEq for DrawError<E>
[src]

fn eq(&self, __arg_0: &DrawError<E>) -> bool

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

fn ne(&self, __arg_0: &DrawError<E>) -> bool

This method tests for !=.

impl<E: Debug> Debug for DrawError<E>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<E: Clone> Clone for DrawError<E>
[src]

fn clone(&self) -> DrawError<E>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more