[][src]Struct ugli_webgl::ANGLE_instanced_arrays

pub struct ANGLE_instanced_arrays(_);

Extension

The implementation must validate the indices referenced by drawArraysInstancedANGLE and drawElementsInstancedANGLE similarly to how indices referenced by drawArrays and drawElements are validated according to section Enabled Vertex Attributes and Range Checking of the WebGL specification.

Although the extension contains ANGLE in the name it may be exposed by any implementation, whether or not the implementation uses the ANGLE library.

Methods

impl ANGLE_instanced_arrays[src]

pub const VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum[src]

pub fn draw_arrays_instanced_angle(
    &self,
    mode: GLenum,
    first: GLint,
    count: GLsizei,
    primcount: GLsizei
)
[src]

pub fn draw_elements_instanced_angle(
    &self,
    mode: GLenum,
    count: GLsizei,
    type_: GLenum,
    offset: GLintptr,
    primcount: GLsizei
)
[src]

pub fn vertex_attrib_divisor_angle(&self, index: GLuint, divisor: GLuint)[src]

Trait Implementations

impl AsRef<Reference> for ANGLE_instanced_arrays[src]

impl Clone for ANGLE_instanced_arrays[src]

impl Debug for ANGLE_instanced_arrays[src]

impl Extension for ANGLE_instanced_arrays[src]

impl From<ANGLE_instanced_arrays> for Reference[src]

impl InstanceOf for ANGLE_instanced_arrays[src]

impl JsSerialize for ANGLE_instanced_arrays[src]

impl JsSerializeOwned for ANGLE_instanced_arrays[src]

impl<'_r> JsSerializeOwned for &'_r ANGLE_instanced_arrays[src]

impl ReferenceType for ANGLE_instanced_arrays[src]

impl<'_r> TryFrom<&'_r Reference> for ANGLE_instanced_arrays[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for ANGLE_instanced_arrays[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<ANGLE_instanced_arrays> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for ANGLE_instanced_arrays[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for ANGLE_instanced_arrays[src]

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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, 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.