|
|
|
|
@ -84,17 +84,6 @@ the six sides of the cube map, fourth part is layer in the array. See
|
|
|
|
|
*/ |
|
|
|
|
class MAGNUM_EXPORT CubeMapTextureArray: public AbstractTexture { |
|
|
|
|
public: |
|
|
|
|
/**
|
|
|
|
|
* @brief Constructor |
|
|
|
|
* |
|
|
|
|
* Creates new OpenGL texture object. If @extension{ARB,direct_state_access} |
|
|
|
|
* (part of OpenGL 4.5) is not available, the texture is created on |
|
|
|
|
* first use. |
|
|
|
|
* @see @fn_gl{CreateTextures} with @def_gl{TEXTURE_CUBE_MAP_ARRAY}, |
|
|
|
|
* eventually @fn_gl{GenTextures} |
|
|
|
|
*/ |
|
|
|
|
explicit CubeMapTextureArray(): AbstractTexture(GL_TEXTURE_CUBE_MAP_ARRAY) {} |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Max supported size of one side of cube map texture array |
|
|
|
|
* |
|
|
|
|
@ -106,6 +95,17 @@ class MAGNUM_EXPORT CubeMapTextureArray: public AbstractTexture {
|
|
|
|
|
*/ |
|
|
|
|
static Vector3i maxSize(); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Constructor |
|
|
|
|
* |
|
|
|
|
* Creates new OpenGL texture object. If @extension{ARB,direct_state_access} |
|
|
|
|
* (part of OpenGL 4.5) is not available, the texture is created on |
|
|
|
|
* first use. |
|
|
|
|
* @see @fn_gl{CreateTextures} with @def_gl{TEXTURE_CUBE_MAP_ARRAY}, |
|
|
|
|
* eventually @fn_gl{GenTextures} |
|
|
|
|
*/ |
|
|
|
|
explicit CubeMapTextureArray(): AbstractTexture(GL_TEXTURE_CUBE_MAP_ARRAY) {} |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @copybrief Texture::setBaseLevel() |
|
|
|
|
* @return Reference to self (for method chaining) |
|
|
|
|
|