[−][src]Enum uni_gl::Parameter
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
Auto Trait Implementations
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
impl RefUnwindSafe for Parameter
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,