Enum glenum::Parameter [] [src]

pub enum Parameter {
    BlendEquation,
    BlendEquationAlpha,
    BlendDstRgb,
    BlendSrcRgb,
    BlendDstAlpha,
    BlendSrcAlpha,
    BlendColor,
    ArrayBufferBinding,
    ElementArrayBufferBinding,
    LineWidth,
    AliasedPointSizeRange,
    AliasedLineWidthRange,
    CullFaceMode,
    FrontFace,
    DepthRange,
    DepthWritemask,
    DepthClearValue,
    DepthFunc,
    StencilClearValue,
    StencilFunc,
    StencilFail,
    StencilPassDepthFail,
    StencilPassDepthPass,
    StencilRef,
    StencilValueMask,
    StencilWritemask,
    StencilBackFunc,
    StencilBackFail,
    StencilBackPassDepthFail,
    StencilBackPassDepthPass,
    StencilBackRef,
    StencilBackValueMask,
    StencilBackWritemask,
    Viewport,
    ScissorBox,
    ColorClearValue,
    ColorWritemask,
    UnpackAlignment,
    PackAlignment,
    MaxTextureSize,
    MaxViewportDims,
    SubpixelBits,
    RedBits,
    GreenBits,
    BlueBits,
    AlphaBits,
    DepthBits,
    StencilBits,
    PolygonOffsetUnits,
    PolygonOffsetFactor,
    TextureBinding2d,
    SampleBuffers,
    Samples,
    SampleCoverageValue,
    SampleCoverageInvert,
    CompressedTextureFormats,
    Vendor,
    Renderer,
    Version,
    ImplementationColorReadType,
    ImplementationColorReadFormat,
    BrowserDefaultWebgl,
    TextureBindingCubeMap,
    MaxCubeMapTextureSize,
}

Constants passed to WebGLRenderingContext.getParameter() to specify what information to return.

Variants

Passed to getParameter to get the current RGB blend function. same as BlendEquationRgb

Passed to getParameter to get the current alpha blend function. Same as BLEND_EQUATION

Passed to getParameter to get the current destination RGB blend function.

Passed to getParameter to get the current destination RGB blend function.

Passed to getParameter to get the current destination alpha blend function.

Passed to getParameter to get the current source alpha blend function.

Passed to getParameter to return a the current blend color.

Passed to getParameter to get the array buffer binding.

Passed to getParameter to get the current element array buffer.

Passed to getParameter to get the current lineWidth (set by the lineWidth method).

Passed to getParameter to get the current size of a point drawn with gl.POINTS

Passed to getParameter to get the range of available widths for a line. Returns a length-2 array with the lo value at 0, and hight at 1.

Passed to getParameter to get the current value of cullFace. Should return FRONT, BACK, or FRONT_AND_BACK

Passed to getParameter to determine the current value of frontFace. Should return CW or CCW.

Passed to getParameter to return a length-2 array of floats giving the current depth range.

Passed to getParameter to determine if the depth write mask is enabled.

Passed to getParameter to determine the current depth clear value.

Passed to getParameter to get the current depth function. Returns NEVER, ALWAYS, LESS, EQUAL, LEQUAL, GREATER, GEQUAL, or NOTEQUAL.

Passed to getParameter to get the value the stencil will be cleared to.

Passed to getParameter to get the current stencil function. Returns NEVER, ALWAYS, LESS, EQUAL, LEQUAL, GREATER, GEQUAL, or NOTEQUAL.

Passed to getParameter to get the current stencil fail function. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP.

Passed to getParameter to get the current stencil fail function should the depth buffer test fail. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP.

Passed to getParameter to get the current stencil fail function should the depth buffer test pass. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP.

Passed to getParameter to get the reference value used for stencil tests.

Returns an Int32Array with four elements for the current viewport dimensions.

Returns an Int32Array with four elements for the current scissor box dimensions.

Trait Implementations

impl Debug for Parameter
[src]

[src]

Formats the value using the given formatter.

impl Clone for Parameter
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Parameter
[src]