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 { namespace Magnum { namespace Implementation {
RendererState::RendererState(Context& context, std::vector<std::string>& extensions): resetNotificationStrategy() { RendererState::RendererState(Context& context, std::vector<std::string>& extensions): resetNotificationStrategy() {
/* Float depth clear value implementation */
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
if(context.isExtensionSupported<Extensions::GL::ARB::ES2_compatibility>()) if(context.isExtensionSupported<Extensions::GL::ARB::ES2_compatibility>())
#endif #endif
@ -45,6 +46,7 @@ RendererState::RendererState(Context& context, std::vector<std::string>& extensi
else clearDepthfImplementation = &Renderer::clearDepthfImplementationDefault; else clearDepthfImplementation = &Renderer::clearDepthfImplementationDefault;
#endif #endif
/* Graphics reset status implementation */
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
if(context.isExtensionSupported<Extensions::GL::ARB::robustness>()) if(context.isExtensionSupported<Extensions::GL::ARB::robustness>())
#else #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 * is immutable and calling @ref setStorage() or @ref setImage() is not
* allowed. * allowed.
* *
* If @extension{EXT,direct_state_access} is not available, the * If @extension{EXT,direct_state_access} is not available, the texture
* texture is bound to some layer before the operation. If * is bound to some layer before the operation. If OpenGL 4.2,
* OpenGL 4.2, @extension{ARB,texture_storage}, OpenGL ES 3.0 or @es_extension{EXT,texture_storage} * @extension{ARB,texture_storage}, OpenGL ES 3.0 or
* in OpenGL ES 2.0 is not available, the feature is emulated with * @es_extension{EXT,texture_storage} in OpenGL ES 2.0 is not
* sequence of @ref setImage() calls. * available, the feature is emulated with sequence of @ref setImage()
* calls.
* @see @fn_gl{ActiveTexture}, @fn_gl{BindTexture} and * @see @fn_gl{ActiveTexture}, @fn_gl{BindTexture} and
* @fn_gl{TexStorage1D}/@fn_gl{TexStorage2D}/@fn_gl{TexStorage3D} * @fn_gl{TexStorage1D}/@fn_gl{TexStorage2D}/@fn_gl{TexStorage3D}
* or @fn_gl_extension{TextureStorage1D,EXT,direct_state_access}/ * or @fn_gl_extension{TextureStorage1D,EXT,direct_state_access}/

Loading…
Cancel
Save