[][src]Struct ugli_webgl::EXT_color_buffer_half_float

pub struct EXT_color_buffer_half_float(_);

Extension

All references to R16F and RG16F types are ignored.

WebGL implementations supporting this extension are required to support rendering to RGBA16F format.

The 16-bit floating-point types RGB16F and RGBA16F become available as color-renderable formats. Renderbuffers can be created in these formats. These and textures created with type = HALF_FLOAT_OES, which will have one of these internal formats, can be attached to framebuffer object color attachments for rendering. Implementations supporting this extension are required to support rendering to RGBA16F format. Applications must check framebuffer completeness to determine if RGB16F is supported.

NOTE: fragment shaders outputs gl_FragColor and gl_FragData[0] will only be clamped and converted when the color buffer is fixed-point and blendColor() and clearColor() will no longer clamp their parameter values on input. Clamping will be applied as necessary at draw time according to the type of color buffer in use.

The format and type combination RGBA and FLOAT becomes valid for reading from a floating-point rendering buffer. Note: RGBA and UNSIGNED_BYTE cannot be used for reading from a floating-point rendering buffer.

The component types of framebuffer object attachments can be queried.

Methods

impl EXT_color_buffer_half_float[src]

Trait Implementations

impl AsRef<Reference> for EXT_color_buffer_half_float[src]

impl Clone for EXT_color_buffer_half_float[src]

impl Debug for EXT_color_buffer_half_float[src]

impl Extension for EXT_color_buffer_half_float[src]

impl From<EXT_color_buffer_half_float> for Reference[src]

impl InstanceOf for EXT_color_buffer_half_float[src]

impl JsSerialize for EXT_color_buffer_half_float[src]

impl JsSerializeOwned for EXT_color_buffer_half_float[src]

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

impl ReferenceType for EXT_color_buffer_half_float[src]

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

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<EXT_color_buffer_half_float> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for EXT_color_buffer_half_float[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for EXT_color_buffer_half_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.