Browse Source

Added function to get OpenGL internal ID for given texture.

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

3
src/AbstractTexture.h

@ -156,6 +156,9 @@ class MAGNUM_EXPORT AbstractTexture {
/** @brief %Texture layer */
inline GLint layer() const { return _layer; }
/** @brief OpenGL internal texture ID */
inline GLuint id() const { return texture; }
/**
* @brief Bind texture for usage / rendering
*

Loading…
Cancel
Save