[][src]Struct ugli_webgl::EXT_color_buffer_float

pub struct EXT_color_buffer_float(_);

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

impl AsRef<Reference> for EXT_color_buffer_float[src]

impl Clone for EXT_color_buffer_float[src]

impl Debug for EXT_color_buffer_float[src]

impl Extension for EXT_color_buffer_float[src]

impl From<EXT_color_buffer_float> for Reference[src]

impl InstanceOf for EXT_color_buffer_float[src]

impl JsSerialize for EXT_color_buffer_float[src]

impl JsSerializeOwned for EXT_color_buffer_float[src]

impl<'_r> JsSerializeOwned for &'_r EXT_color_buffer_float[src]

impl ReferenceType for EXT_color_buffer_float[src]

impl<'_r> TryFrom<&'_r Reference> for EXT_color_buffer_float[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for EXT_color_buffer_float[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<EXT_color_buffer_float> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for EXT_color_buffer_float[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for EXT_color_buffer_float[src]

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.