Enum luminance_webgl::webgl2::state::StateQueryError [−][src]
#[non_exhaustive] pub enum StateQueryError {}Show variants
UnavailableWebGL2State, UnknownArrayBufferInitialState, UnknownViewportInitialState, UnknownClearColorInitialState, UnknownDepthWriteMaskState, UnknownBlendingEquation(u32), CannotRetrieveBlendingEquationRGB, CannotRetrieveBlendingEquationAlpha, CannotRetrieveBlendingSrcFactorRGB, CannotRetrieveBlendingSrcFactorAlpha, CannotRetrieveBlendingDstFactorRGB, CannotRetrieveBlendingDstFactorAlpha, CannotRetrieveRequiredWebGL2Extensions(Vec<String>), UnknownBlendingSrcFactorRGB(u32), UnknownBlendingSrcFactorAlpha(u32), UnknownBlendingDstFactorRGB(u32), UnknownBlendingDstFactorAlpha(u32), UnknownFaceCullingOrder, UnknownFaceCullingMode, UnknownScissorRegionInitialState,
Expand description
An error that might happen when the context is queried.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The WebGL2State
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.
Unknown array buffer initial state.
Unknown viewport initial state.
Unknown clear color initial state.
Unknown depth write mask initial state.
UnknownBlendingEquation(u32)
Corrupted blending equation.
RGB blending equation couldn’t be retrieved when initializing the WebGL2 state.
Alpha blending equation couldn’t be retrieved when initializing the WebGL2 state.
Source RGB factor couldn’t be retrieved when initializing the WebGL2 state.
Source alpha factor couldn’t be retrieved when initializing the WebGL2 state.
Destination RGB factor couldn’t be retrieved when initializing the WebGL2 state.
Destination alpha factor couldn’t be retrieved when initializing the WebGL2 state.
Required WebGL extensions cannot be enabled
UnknownBlendingSrcFactorRGB(u32)
Corrupted blending source factor (RGB).
UnknownBlendingSrcFactorAlpha(u32)
Corrupted blending source factor (alpha).
UnknownBlendingDstFactorRGB(u32)
Corrupted blending destination factor (RGB).
UnknownBlendingDstFactorAlpha(u32)
Corrupted blending destination factor (alpha).
Corrupted face culling order.
Corrupted face culling mode.
Unknown scissor region initial state.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StateQueryError
impl Send for StateQueryError
impl Sync for StateQueryError
impl Unpin for StateQueryError
impl UnwindSafe for StateQueryError