[−][src]Struct ugli_webgl::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]
&self,
mode: GLenum,
first: GLint,
count: GLsizei,
primcount: GLsizei
)
pub fn draw_elements_instanced_angle(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
offset: GLintptr,
primcount: GLsizei
)
[src]
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
offset: GLintptr,
primcount: GLsizei
)
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]
fn clone(&self) -> ANGLE_instanced_arrays
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ANGLE_instanced_arrays
[src]
impl Extension for ANGLE_instanced_arrays
[src]
impl From<ANGLE_instanced_arrays> for Reference
[src]
fn from(value: ANGLE_instanced_arrays) -> Self
[src]
impl InstanceOf for ANGLE_instanced_arrays
[src]
fn instance_of(_reference: &Reference) -> bool
[src]
impl JsSerialize for ANGLE_instanced_arrays
[src]
impl JsSerializeOwned for ANGLE_instanced_arrays
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl<'_r> JsSerializeOwned for &'_r ANGLE_instanced_arrays
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl ReferenceType for ANGLE_instanced_arrays
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
impl<'_r> TryFrom<&'_r Reference> for ANGLE_instanced_arrays
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Value> for ANGLE_instanced_arrays
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
impl TryFrom<ANGLE_instanced_arrays> for Reference
[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: ANGLE_instanced_arrays) -> Result<Self, Self::Error>
[src]
impl TryFrom<Reference> for ANGLE_instanced_arrays
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
impl TryFrom<Value> for ANGLE_instanced_arrays
[src]
Auto Trait Implementations
impl RefUnwindSafe for ANGLE_instanced_arrays
impl Send for ANGLE_instanced_arrays
impl Sync for ANGLE_instanced_arrays
impl Unpin for ANGLE_instanced_arrays
impl UnwindSafe for ANGLE_instanced_arrays
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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 = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,