Struct webgl_stdweb::EXT_sRGB
source · pub struct EXT_sRGB(_);
Expand description
Extension
Adds the sRGB support to textures and framebuffer objects.
Implementations
sourceimpl EXT_sRGB
impl EXT_sRGB
pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum = 33_296u32
pub const SRGB8_ALPHA8_EXT: GLenum = 35_907u32
pub const SRGB_ALPHA_EXT: GLenum = 35_906u32
pub const SRGB_EXT: GLenum = 35_904u32
Trait Implementations
sourceimpl InstanceOf for EXT_sRGB
impl InstanceOf for EXT_sRGB
sourcefn instance_of(_reference: &Reference) -> bool
fn instance_of(_reference: &Reference) -> bool
Checks whenever a given Reference if of type
Self
.sourceimpl ReferenceType for EXT_sRGB
impl ReferenceType for EXT_sRGB
sourceunsafe fn from_reference_unchecked(reference: Reference) -> Self
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper.
Doesn’t do any type checking; highly unsafe to use! Read more
impl JsSerialize for EXT_sRGB
Auto Trait Implementations
impl RefUnwindSafe for EXT_sRGB
impl Send for EXT_sRGB
impl Sync for EXT_sRGB
impl Unpin for EXT_sRGB
impl UnwindSafe for EXT_sRGB
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more