Struct webgl_stdweb::EXT_color_buffer_float
source · pub struct EXT_color_buffer_float(_);
Expand description
Extension
The sized internal format RGB16F is not color-renderable in this extension. This is a difference in functionality compared to the EXT_color_buffer_half_float extension.
The following floating-point internal formats become color-renderable: R16F, RG16F, RGBA16F, R32F, RG32F, RGBA32F and R11F_G11F_B10F. A renderbuffer or a texture with a color-renderable internal format can be used as a rendering target by attaching it to a framebuffer object as a color attachment.
Renderbuffers with these internal formats can be created.
The format and type combination RGBA and FLOAT becomes valid for reading from a floating-point color buffer.
Notes:
- Fragment shader outputs to buffers with these internal formats are not clamped.
- Colors specified with clearColor and blendColor are not clamped when applied to buffers with these internal formats.
- The format and type combination RGBA and UNSIGNED_BYTE cannot be used for reading from a floating-point color buffer.
- Multi-sample floating-point color renderbuffers may optionally be supported. Limitations are defined in the EXT_color_buffer_float extension.
- The sized internal format RGB16F is not color-renderable in this extension.
Trait Implementations
sourceimpl AsRef<Reference> for EXT_color_buffer_float
impl AsRef<Reference> for EXT_color_buffer_float
sourceimpl Clone for EXT_color_buffer_float
impl Clone for EXT_color_buffer_float
sourcefn clone(&self) -> EXT_color_buffer_float
fn clone(&self) -> EXT_color_buffer_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 EXT_color_buffer_float
impl Debug for EXT_color_buffer_float
sourceimpl Extension for EXT_color_buffer_float
impl Extension for EXT_color_buffer_float
sourceimpl From<EXT_color_buffer_float> for Reference
impl From<EXT_color_buffer_float> for Reference
sourcefn from(value: EXT_color_buffer_float) -> Self
fn from(value: EXT_color_buffer_float) -> Self
Converts to this type from the input type.
sourceimpl InstanceOf for EXT_color_buffer_float
impl InstanceOf for EXT_color_buffer_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 EXT_color_buffer_float
impl ReferenceType for EXT_color_buffer_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 EXT_color_buffer_float
impl<'_r> TryFrom<&'_r Reference> for EXT_color_buffer_float
sourceimpl<'_r> TryFrom<&'_r Value> for EXT_color_buffer_float
impl<'_r> TryFrom<&'_r Value> for EXT_color_buffer_float
sourceimpl TryFrom<EXT_color_buffer_float> for Reference
impl TryFrom<EXT_color_buffer_float> for Reference
sourceimpl TryFrom<Reference> for EXT_color_buffer_float
impl TryFrom<Reference> for EXT_color_buffer_float
sourceimpl TryFrom<Value> for EXT_color_buffer_float
impl TryFrom<Value> for EXT_color_buffer_float
impl JsSerialize for EXT_color_buffer_float
Auto Trait Implementations
impl RefUnwindSafe for EXT_color_buffer_float
impl Send for EXT_color_buffer_float
impl Sync for EXT_color_buffer_float
impl Unpin for EXT_color_buffer_float
impl UnwindSafe for EXT_color_buffer_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