Browse Source

Doc++

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
b28876ec70
  1. 2
      src/Magnum/RectangleTexture.h
  2. 5
      src/Magnum/Texture.h

2
src/Magnum/RectangleTexture.h

@ -166,7 +166,7 @@ class RectangleTexture: public AbstractTexture {
/**
* @brief Set storage
* @param internalFormat Internal format
* @param size Size
* @param size %Texture size
* @return Reference to self (for method chaining)
*
* Specifies entire structure of a texture at once, removing the need

5
src/Magnum/Texture.h

@ -178,7 +178,8 @@ template<UnsignedInt dimensions> class Texture: public AbstractTexture {
* is bound to some texture unit before the operation.
* @see @fn_gl{ActiveTexture}, @fn_gl{BindTexture} and
* @fn_gl{GetTexLevelParameter} or @fn_gl_extension{GetTextureLevelParameter,EXT,direct_state_access}
* with @def_gl{TEXTURE_WIDTH}, @def_gl{TEXTURE_HEIGHT} or @def_gl{TEXTURE_DEPTH}.
* with @def_gl{TEXTURE_WIDTH}, @def_gl{TEXTURE_HEIGHT} or
* @def_gl{TEXTURE_DEPTH}
* @requires_gl %Texture image queries are not available in OpenGL ES.
*/
typename DimensionTraits<dimensions, Int>::VectorType imageSize(Int level) {
@ -382,7 +383,7 @@ template<UnsignedInt dimensions> class Texture: public AbstractTexture {
* eventually @fn_gl{TexImage1D}/@fn_gl{TexImage2D}/@fn_gl{TexImage3D} or
* @fn_gl_extension{TextureImage1D,EXT,direct_state_access}/
* @fn_gl_extension{TextureImage2D,EXT,direct_state_access}/
* @fn_gl_extension{TextureImage3D,EXT,direct_state_access}.
* @fn_gl_extension{TextureImage3D,EXT,direct_state_access}
*/
Texture<dimensions>& setStorage(Int levels, TextureFormat internalFormat, const typename DimensionTraits<dimensions, Int>::VectorType& size) {
DataHelper<dimensions>::setStorage(*this, _target, levels, internalFormat, size);

Loading…
Cancel
Save