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 also:

Static variables

@:value(33296)staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT:Int = 33296

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

@:value(35907)staticinlineread onlySRGB8_ALPHA8_EXT:Int = 35907

Sized (8-bit) sRGB and alpha formats.

@:value(35906)staticinlineread onlySRGB_ALPHA_EXT:Int = 35906

Unsized sRGB format with unsized alpha component.

@:value(35904)staticinlineread onlySRGB_EXT:Int = 35904

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