|
|
|
|
@ -338,12 +338,6 @@ class MAGNUM_GL_EXPORT AbstractTexture: public AbstractObject {
|
|
|
|
|
/** @brief OpenGL texture ID */ |
|
|
|
|
GLuint id() const { return _id; } |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief OpenGL texture target |
|
|
|
|
* @m_since_latest |
|
|
|
|
*/ |
|
|
|
|
GLenum target() const { return _target; } |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Release OpenGL object |
|
|
|
|
* |
|
|
|
|
@ -357,6 +351,12 @@ class MAGNUM_GL_EXPORT AbstractTexture: public AbstractObject {
|
|
|
|
|
*/ |
|
|
|
|
GLuint release(); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief OpenGL texture target |
|
|
|
|
* @m_since_latest |
|
|
|
|
*/ |
|
|
|
|
GLenum target() const { return _target; } |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_WEBGL |
|
|
|
|
/**
|
|
|
|
|
* @brief Texture label |
|
|
|
|
|