Browse Source

Documented unsized internal depth/stencil format.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
e7bb19b70b
  1. 13
      src/AbstractTexture.h

13
src/AbstractTexture.h

@ -439,12 +439,21 @@ class MAGNUM_EXPORT AbstractTexture {
CompressedBptcRGBUnsignedFloat = GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT,
#endif
/** Depth component. */
/**
* Depth component, at least 16bit.
*
* Prefer to use the exactly specified version of this format, in
* this case e.g. `Format::Depth16`.
*/
Depth = GL_DEPTH_COMPONENT,
#ifndef MAGNUM_TARGET_GLES
/**
* Depth and stencil component.
* Depth and stencil component, at least 24bit depth and 8bit
* stencil.
*
* Prefer to use the exactly specified version of this format, in
* this case e.g. `Format::Depth24Stencil8`.
* @requires_gl
*/
DepthStencil = GL_DEPTH_STENCIL,

Loading…
Cancel
Save