[][src]Enum luminance::state::StateQueryError

pub enum StateQueryError {
    UnavailableGraphicsState,
    UnknownBlendingState(GLboolean),
    UnknownBlendingEquation(GLenum),
    UnknownBlendingSrcFactor(GLenum),
    UnknownBlendingDstFactor(GLenum),
    UnknownDepthTestState(GLboolean),
    UnknownFaceCullingState(GLboolean),
    UnknownFaceCullingOrder(GLenum),
    UnknownFaceCullingMode(GLenum),
    UnknownVertexRestartState(GLboolean),
}

An error that might happen when the context is queried.

Variants

UnavailableGraphicsState

The GraphicsState object is unavailable.

That might occur if the current thread doesn’t support allocating a new graphics state. It might happen if you try to have more than one state on the same thread, for instance.

UnknownBlendingState(GLboolean)

Corrupted blending state.

UnknownBlendingEquation(GLenum)

Corrupted blending equation.

UnknownBlendingSrcFactor(GLenum)

Corrupted blending source factor.

UnknownBlendingDstFactor(GLenum)

Corrupted blending destination factor.

UnknownDepthTestState(GLboolean)

Corrupted depth test state.

UnknownFaceCullingState(GLboolean)

Corrupted face culling state.

UnknownFaceCullingOrder(GLenum)

Corrupted face culling order.

UnknownFaceCullingMode(GLenum)

Corrupted face culling mode.

UnknownVertexRestartState(GLboolean)

Corrupted vertex restart state.

Trait Implementations

impl Debug for StateQueryError[src]

impl Display for StateQueryError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]