pub struct EXT_color_buffer_half_float(_);
Expand description

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.

Implementations

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Checks whenever a given Reference if of type Self.
Converts a given reference into a concrete reference-like wrapper. Doesn’t do any type checking; highly unsafe to use! Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.