Browse Source

Doc++

findsdl-include-root
Vladimír Vondruš 7 years ago
parent
commit
44b008262e
  1. 4
      src/Magnum/GL/Texture.h
  2. 6
      src/Magnum/Trade/ImageData.h

4
src/Magnum/GL/Texture.h

@ -388,7 +388,7 @@ template<UnsignedInt dimensions> class Texture: public AbstractTexture {
#ifndef MAGNUM_TARGET_GLES2
/**
* @brief Set minimum level-of-detail parameter
* @brief Set the minimum level-of-detail
* @return Reference to self (for method chaining)
*
* Limits selection of highest resolution mipmap. If
@ -409,7 +409,7 @@ template<UnsignedInt dimensions> class Texture: public AbstractTexture {
}
/**
* @brief Set maximum level-of-detail parameter
* @brief Set the maximum level-of-detail
* @return Reference to self (for method chaining)
*
* Limits selection of lowest resolution mipmap. If

6
src/Magnum/Trade/ImageData.h

@ -445,13 +445,13 @@ template<UnsignedInt dimensions> class ImageData {
const void* _importerState;
};
/** @brief One-dimensional image */
/** @brief One-dimensional image data */
typedef ImageData<1> ImageData1D;
/** @brief Two-dimensional image */
/** @brief Two-dimensional image data */
typedef ImageData<2> ImageData2D;
/** @brief Three-dimensional image */
/** @brief Three-dimensional image data */
typedef ImageData<3> ImageData3D;
template<UnsignedInt dimensions> template<class T, class U> ImageData<dimensions>::ImageData(const PixelStorage storage, const T format, const U formatExtra, const VectorTypeFor<dimensions, Int>& size, Containers::Array<char>&& data, const void* const importerState) noexcept: ImageData{storage, UnsignedInt(format), UnsignedInt(formatExtra), Magnum::Implementation::pixelSizeAdl(format, formatExtra), size, std::move(data), importerState} {

Loading…
Cancel
Save