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

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.