[−][src]Struct ugli_webgl::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]
pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum
[src]
pub const RGB16F_EXT: GLenum
[src]
pub const RGBA16F_EXT: GLenum
[src]
pub const UNSIGNED_NORMALIZED_EXT: GLenum
[src]
Trait Implementations
impl AsRef<Reference> for EXT_color_buffer_half_float
[src]
impl Clone for EXT_color_buffer_half_float
[src]
fn clone(&self) -> EXT_color_buffer_half_float
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn from(value: EXT_color_buffer_half_float) -> Self
[src]
impl InstanceOf for EXT_color_buffer_half_float
[src]
fn instance_of(_reference: &Reference) -> bool
[src]
impl JsSerialize for EXT_color_buffer_half_float
[src]
impl JsSerializeOwned for EXT_color_buffer_half_float
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl<'_r> JsSerializeOwned for &'_r EXT_color_buffer_half_float
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl ReferenceType for EXT_color_buffer_half_float
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[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.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
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.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
impl TryFrom<EXT_color_buffer_half_float> for Reference
[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: EXT_color_buffer_half_float) -> Result<Self, Self::Error>
[src]
impl TryFrom<Reference> for EXT_color_buffer_half_float
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
impl TryFrom<Value> for EXT_color_buffer_half_float
[src]
Auto Trait Implementations
impl RefUnwindSafe for EXT_color_buffer_half_float
impl Send for EXT_color_buffer_half_float
impl Sync for EXT_color_buffer_half_float
impl Unpin for EXT_color_buffer_half_float
impl UnwindSafe for EXT_color_buffer_half_float
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,