Struct webgl_stdweb::OES_texture_float
source · pub struct OES_texture_float(_);
Expand description
Extension
Optional support for FLOAT textures as FBO attachments. The texImage2D and texSubImage2D entry points taking ArrayBufferView are extended to accept Float32Array with the pixel type FLOAT. The texImage2D and texSubImage2D entry points taking ImageData, HTMLImageElement, HTMLCanvasElement and HTMLVideoElement are extended to accept the pixel type FLOAT. Upon activation of this extension, implementations supporting WEBGL_color_buffer_float shall implicitly enable it. This requirement maintains the historical behavior prior to the differentiation of float renderability from float textures, so as to not break existing content.
Trait Implementations
sourceimpl AsRef<Reference> for OES_texture_float
impl AsRef<Reference> for OES_texture_float
sourceimpl Clone for OES_texture_float
impl Clone for OES_texture_float
sourcefn clone(&self) -> OES_texture_float
fn clone(&self) -> OES_texture_float
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 OES_texture_float
impl Debug for OES_texture_float
sourceimpl From<OES_texture_float> for Reference
impl From<OES_texture_float> for Reference
sourcefn from(value: OES_texture_float) -> Self
fn from(value: OES_texture_float) -> Self
Converts to this type from the input type.
sourceimpl InstanceOf for OES_texture_float
impl InstanceOf for OES_texture_float
sourcefn instance_of(_reference: &Reference) -> bool
fn instance_of(_reference: &Reference) -> bool
Checks whenever a given Reference if of type
Self
.sourceimpl ReferenceType for OES_texture_float
impl ReferenceType for OES_texture_float
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 OES_texture_float
impl<'_r> TryFrom<&'_r Reference> for OES_texture_float
sourceimpl<'_r> TryFrom<&'_r Value> for OES_texture_float
impl<'_r> TryFrom<&'_r Value> for OES_texture_float
sourceimpl TryFrom<OES_texture_float> for Reference
impl TryFrom<OES_texture_float> for Reference
sourceimpl TryFrom<Reference> for OES_texture_float
impl TryFrom<Reference> for OES_texture_float
sourceimpl TryFrom<Value> for OES_texture_float
impl TryFrom<Value> for OES_texture_float
impl JsSerialize for OES_texture_float
Auto Trait Implementations
impl RefUnwindSafe for OES_texture_float
impl Send for OES_texture_float
impl Sync for OES_texture_float
impl Unpin for OES_texture_float
impl UnwindSafe for OES_texture_float
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