Browse Source

Doc++

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
a05594bdfd
  1. 2
      src/Magnum/Implementation/RendererState.cpp
  2. 11
      src/Magnum/Texture.h

2
src/Magnum/Implementation/RendererState.cpp

@ -31,6 +31,7 @@
namespace Magnum { namespace Implementation {
RendererState::RendererState(Context& context, std::vector<std::string>& extensions): resetNotificationStrategy() {
/* Float depth clear value implementation */
#ifndef MAGNUM_TARGET_GLES
if(context.isExtensionSupported<Extensions::GL::ARB::ES2_compatibility>())
#endif
@ -45,6 +46,7 @@ RendererState::RendererState(Context& context, std::vector<std::string>& extensi
else clearDepthfImplementation = &Renderer::clearDepthfImplementationDefault;
#endif
/* Graphics reset status implementation */
#ifndef MAGNUM_TARGET_GLES
if(context.isExtensionSupported<Extensions::GL::ARB::robustness>())
#else

11
src/Magnum/Texture.h

@ -285,11 +285,12 @@ template<UnsignedInt dimensions> class Texture: public AbstractTexture {
* is immutable and calling @ref setStorage() or @ref setImage() is not
* allowed.
*
* If @extension{EXT,direct_state_access} is not available, the
* texture is bound to some layer before the operation. If
* OpenGL 4.2, @extension{ARB,texture_storage}, OpenGL ES 3.0 or @es_extension{EXT,texture_storage}
* in OpenGL ES 2.0 is not available, the feature is emulated with
* sequence of @ref setImage() calls.
* If @extension{EXT,direct_state_access} is not available, the texture
* is bound to some layer before the operation. If OpenGL 4.2,
* @extension{ARB,texture_storage}, OpenGL ES 3.0 or
* @es_extension{EXT,texture_storage} in OpenGL ES 2.0 is not
* available, the feature is emulated with sequence of @ref setImage()
* calls.
* @see @fn_gl{ActiveTexture}, @fn_gl{BindTexture} and
* @fn_gl{TexStorage1D}/@fn_gl{TexStorage2D}/@fn_gl{TexStorage3D}
* or @fn_gl_extension{TextureStorage1D,EXT,direct_state_access}/

Loading…
Cancel
Save