pub struct EXT_disjoint_timer_query_webgl2(_);
Expand description
Extension
Specifies that queries’ results only become available at certain well-defined times. This extension provides the same functionality as EXT_disjoint_timer_query. The IDL, description, and extension name are specialized for WebGL 2.0, which incorporates query objects into the core specification.
Implementations
sourceimpl EXT_disjoint_timer_query_webgl2
impl EXT_disjoint_timer_query_webgl2
pub const GPU_DISJOINT_EXT: GLenum = 36_795u32
pub const QUERY_COUNTER_BITS_EXT: GLenum = 34_916u32
pub const TIMESTAMP_EXT: GLenum = 36_392u32
pub const TIME_ELAPSED_EXT: GLenum = 35_007u32
sourcepub fn query_counter_ext(&self, query: &WebGLQuery, target: GLenum)
pub fn query_counter_ext(&self, query: &WebGLQuery, target: GLenum)
target accepts TIMESTAMP_EXT.
Trait Implementations
sourceimpl Clone for EXT_disjoint_timer_query_webgl2
impl Clone for EXT_disjoint_timer_query_webgl2
sourcefn clone(&self) -> EXT_disjoint_timer_query_webgl2
fn clone(&self) -> EXT_disjoint_timer_query_webgl2
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 From<EXT_disjoint_timer_query_webgl2> for Reference
impl From<EXT_disjoint_timer_query_webgl2> for Reference
sourcefn from(value: EXT_disjoint_timer_query_webgl2) -> Self
fn from(value: EXT_disjoint_timer_query_webgl2) -> Self
Converts to this type from the input type.
sourceimpl InstanceOf for EXT_disjoint_timer_query_webgl2
impl InstanceOf for EXT_disjoint_timer_query_webgl2
sourcefn instance_of(_reference: &Reference) -> bool
fn instance_of(_reference: &Reference) -> bool
Checks whenever a given Reference if of type
Self
.sourceimpl ReferenceType for EXT_disjoint_timer_query_webgl2
impl ReferenceType for EXT_disjoint_timer_query_webgl2
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 EXT_disjoint_timer_query_webgl2
impl<'_r> TryFrom<&'_r Reference> for EXT_disjoint_timer_query_webgl2
sourceimpl<'_r> TryFrom<&'_r Value> for EXT_disjoint_timer_query_webgl2
impl<'_r> TryFrom<&'_r Value> for EXT_disjoint_timer_query_webgl2
impl JsSerialize for EXT_disjoint_timer_query_webgl2
Auto Trait Implementations
impl RefUnwindSafe for EXT_disjoint_timer_query_webgl2
impl Send for EXT_disjoint_timer_query_webgl2
impl Sync for EXT_disjoint_timer_query_webgl2
impl Unpin for EXT_disjoint_timer_query_webgl2
impl UnwindSafe for EXT_disjoint_timer_query_webgl2
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