Browse Source

Doxygen workarounds.

WHYYYY.
pull/141/head
Vladimír Vondruš 10 years ago
parent
commit
4bc1841c2d
  1. 16
      src/Magnum/DebugTools/TextureImage.h
  2. 3
      src/Magnum/Magnum.h

16
src/Magnum/DebugTools/TextureImage.h

@ -41,12 +41,12 @@ Emulates @ref Texture::subImage() "*Texture::subImage()" call on platforms that
don't support it (such as OpenGL ES) by creating a framebuffer object and using
@ref Framebuffer::read().
Note that only @ref PixelFormat and @ref PixelType values that are marked as
framebuffer readable are supported. In addition, on OpenGL ES 3.0, images with
@ref PixelType::Float are supported -- they are reinterpreted as
@ref PixelType::UnsignedInt using additional shader and `floatBitsToUint()`
GLSL function and then reinterpreted back to @ref PixelType::Float when read to
client memory.
Note that only @ref Magnum::PixelFormat "PixelFormat" and @ref PixelType values
that are marked as framebuffer readable are supported. In addition, on OpenGL
ES 3.0, images with @ref PixelType::Float are supported -- they are
reinterpreted as @ref PixelType::UnsignedInt using additional shader and
`floatBitsToUint()` GLSL function and then reinterpreted back to
@ref PixelType::Float when read to client memory.
*/
MAGNUM_DEBUGTOOLS_EXPORT void textureSubImage(Texture2D& texture, Int level, const Range2Di& range, Image2D& image);
@ -74,8 +74,8 @@ Emulates @ref Texture::subImage() "*Texture::subImage()" call on platforms that
don't support it (such as OpenGL ES) by creating a framebuffer object and using
@ref Framebuffer::read().
Note that only @ref PixelFormat and @ref PixelType values that are marked as
framebuffer readable are supported.
Note that only @ref Magnum::PixelFormat "PixelFormat" and @ref PixelType values
that are marked as framebuffer readable are supported.
@requires_gles30 Pixel buffer objects are not available in OpenGL ES 2.0.
@requires_webgl20 Pixel buffer objects are not available in WebGL 1.0.
*/

3
src/Magnum/Magnum.h

@ -151,7 +151,8 @@ Defined if the engine is built for use on a headless machine (without any
graphical desktop environment). Basically it means that EGL with no display
attachment is being used everywhere instead of platform-specific toolkits like
CGL, GLX or WGL. Note that this might not be supported on all platforms, see
@ref Platform::WindowlessEglApplication for more information.
@ref Magnum::Platform::WindowlessEglApplication "Platform::WindowlessEglApplication"
for more information.
*/
#define MAGNUM_TARGET_HEADLESS
#undef MAGNUM_TARGET_HEADLESS

Loading…
Cancel
Save