Struct webgl_stdweb::ANGLE_instanced_arrays
source · pub struct ANGLE_instanced_arrays(_);
Expand description
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.
Implementations
sourceimpl ANGLE_instanced_arrays
impl ANGLE_instanced_arrays
pub const VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum = 35_070u32
pub fn draw_arrays_instanced_angle(
&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
)
pub fn vertex_attrib_divisor_angle(&self, index: GLuint, divisor: GLuint)
Trait Implementations
sourceimpl AsRef<Reference> for ANGLE_instanced_arrays
impl AsRef<Reference> for ANGLE_instanced_arrays
sourceimpl Clone for ANGLE_instanced_arrays
impl Clone for ANGLE_instanced_arrays
sourcefn clone(&self) -> ANGLE_instanced_arrays
fn clone(&self) -> ANGLE_instanced_arrays
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ANGLE_instanced_arrays
impl Debug for ANGLE_instanced_arrays
sourceimpl Extension for ANGLE_instanced_arrays
impl Extension for ANGLE_instanced_arrays
sourceimpl From<ANGLE_instanced_arrays> for Reference
impl From<ANGLE_instanced_arrays> for Reference
sourcefn from(value: ANGLE_instanced_arrays) -> Self
fn from(value: ANGLE_instanced_arrays) -> Self
Converts to this type from the input type.
sourceimpl InstanceOf for ANGLE_instanced_arrays
impl InstanceOf for ANGLE_instanced_arrays
sourcefn instance_of(_reference: &Reference) -> bool
fn instance_of(_reference: &Reference) -> bool
Checks whenever a given Reference if of type
Self
.sourceimpl ReferenceType for ANGLE_instanced_arrays
impl ReferenceType for ANGLE_instanced_arrays
sourceunsafe fn from_reference_unchecked(reference: Reference) -> Self
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper.
Doesn’t do any type checking; highly unsafe to use! Read more
sourceimpl<'_r> TryFrom<&'_r Reference> for ANGLE_instanced_arrays
impl<'_r> TryFrom<&'_r Reference> for ANGLE_instanced_arrays
sourceimpl<'_r> TryFrom<&'_r Value> for ANGLE_instanced_arrays
impl<'_r> TryFrom<&'_r Value> for ANGLE_instanced_arrays
sourceimpl TryFrom<ANGLE_instanced_arrays> for Reference
impl TryFrom<ANGLE_instanced_arrays> for Reference
sourceimpl TryFrom<Reference> for ANGLE_instanced_arrays
impl TryFrom<Reference> for ANGLE_instanced_arrays
sourceimpl TryFrom<Value> for ANGLE_instanced_arrays
impl TryFrom<Value> for ANGLE_instanced_arrays
impl JsSerialize for ANGLE_instanced_arrays
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more