W3cubDocs

/Haxe JavaScript

EXTSrgb

package js.html.webgl.extension

Available on js

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

staticinlineread onlyFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT:Int = 33296

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

staticinlineread onlySRGB8_ALPHA8_EXT:Int = 35907

Sized (8-bit) sRGB and alpha formats.

staticinlineread onlySRGB_ALPHA_EXT:Int = 35906

Unsized sRGB format with unsized alpha component.

staticinlineread onlySRGB_EXT:Int = 35904

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

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/extension/EXTSrgb.html