Browse Source

Clarify docs of Renderer::Feature::FramebufferSRGB.

pull/190/head
Vladimír Vondruš 9 years ago
parent
commit
f31537d184
  1. 14
      src/Magnum/Renderer.h

14
src/Magnum/Renderer.h

@ -156,13 +156,15 @@ class MAGNUM_EXPORT Renderer {
#ifndef MAGNUM_TARGET_WEBGL
/**
* sRGB encoding of the default framebuffer
* Perform sRGB conversion of values written to sRGB framebuffers.
* Disabled by default on desktop GL, enabled by default on OpenGL
* ES.
* @requires_gl30 Extension @extension{ARB,framebuffer_sRGB}
* @requires_es_extension @es_extension{EXT,sRGB_write_control}.
* Otherwise sRGB encoding of the default framebuffer is
* implementation-defined.
* @requires_gles sRGB encoding of the default framebuffer is
* implementation-defined in WebGL.
* @requires_es_extension @es_extension{EXT,sRGB_write_control}. If
* the extension is not present, there's no ability to turn
* the sRGB conversion off.
* @requires_gles WebGL has no ability to turn the sRGB conversion
* off.
*/
#ifndef MAGNUM_TARGET_GLES
FramebufferSRGB = GL_FRAMEBUFFER_SRGB,

Loading…
Cancel
Save