EXTSrgb

js.html.webgl.extension.EXTSrgb (extern class)

The EXT_sRGB extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.

Documentation EXT_sRGB by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Static Members

SRGB_EXT: Int

Unsized sRGB format that leaves the precision up to the driver.


SRGB_ALPHA_EXT: Int

Unsized sRGB format with unsized alpha component.


SRGB8_ALPHA8_EXT: Int

Sized (8-bit) sRGB and alpha formats.


FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: Int

Returns the framebuffer color encoding (gl.LINEAR or ext.SRGB_EXT).