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
sourceimpl EXT_color_buffer_half_float
impl EXT_color_buffer_half_float
pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum = 33_297u32
pub const RGB16F_EXT: GLenum = 34_843u32
pub const RGBA16F_EXT: GLenum = 34_842u32
pub const UNSIGNED_NORMALIZED_EXT: GLenum = 35_863u32
Trait Implementations
sourceimpl AsRef<Reference> for EXT_color_buffer_half_float
impl AsRef<Reference> for EXT_color_buffer_half_float
sourceimpl Clone for EXT_color_buffer_half_float
impl Clone for EXT_color_buffer_half_float
sourcefn clone(&self) -> EXT_color_buffer_half_float
fn clone(&self) -> EXT_color_buffer_half_float
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for EXT_color_buffer_half_float
impl Debug for EXT_color_buffer_half_float
sourceimpl From<EXT_color_buffer_half_float> for Reference
impl From<EXT_color_buffer_half_float> for Reference
sourcefn from(value: EXT_color_buffer_half_float) -> Self
fn from(value: EXT_color_buffer_half_float) -> Self
sourceimpl InstanceOf for EXT_color_buffer_half_float
impl InstanceOf for EXT_color_buffer_half_float
sourcefn instance_of(_reference: &Reference) -> bool
fn instance_of(_reference: &Reference) -> bool
Self
.