|
|
|
|
@ -543,7 +543,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* @fn_gl{PixelStore}, then @fn_gl2_keyword{GetTextureImage,GetTexImage} |
|
|
|
|
* @requires_gl45 Extension @extension{ARB,direct_state_access} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void image(Int level, Image3D& image); |
|
|
|
|
|
|
|
|
|
@ -565,7 +566,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* means that @p usage might get ignored. |
|
|
|
|
* @requires_gl45 Extension @extension{ARB,direct_state_access} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void image(Int level, BufferImage3D& image, BufferUsage usage); |
|
|
|
|
|
|
|
|
|
@ -592,7 +594,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* @fn_gl2_keyword{GetCompressedTextureImage,GetCompressedTexImage} |
|
|
|
|
* @requires_gl45 Extension @extension{ARB,direct_state_access} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void compressedImage(Int level, CompressedImage3D& image); |
|
|
|
|
|
|
|
|
|
@ -614,7 +617,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* contain the new data, which means that @p usage might get ignored. |
|
|
|
|
* @requires_gl45 Extension @extension{ARB,direct_state_access} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void compressedImage(Int level, CompressedBufferImage3D& image, BufferUsage usage); |
|
|
|
|
|
|
|
|
|
@ -655,7 +659,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* @fn_gl_extension_keyword{GetTextureImage,EXT,direct_state_access}, |
|
|
|
|
* eventually @fn_gl_keyword{GetTexImage} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void image(CubeMapCoordinate coordinate, Int level, Image2D& image); |
|
|
|
|
|
|
|
|
|
@ -676,7 +681,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* storage is not reallocated if it is large enough to contain the new |
|
|
|
|
* data, which means that @p usage might get ignored. |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void image(CubeMapCoordinate coordinate, Int level, BufferImage2D& image, BufferUsage usage); |
|
|
|
|
|
|
|
|
|
@ -717,7 +723,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* @fn_gl_extension_keyword{GetCompressedTextureImage,EXT,direct_state_access}, |
|
|
|
|
* eventually @fn_gl_keyword{GetCompressedTexImage} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void compressedImage(CubeMapCoordinate coordinate, Int level, CompressedImage2D& image); |
|
|
|
|
|
|
|
|
|
@ -739,7 +746,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* enough to contain the new data, which means that @p usage might get |
|
|
|
|
* ignored. |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void compressedImage(CubeMapCoordinate coordinate, Int level, CompressedBufferImage2D& image, BufferUsage usage); |
|
|
|
|
|
|
|
|
|
@ -760,7 +768,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* for more information. |
|
|
|
|
* @requires_gl45 Extension @extension{ARB,get_texture_sub_image} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void subImage(Int level, const Range3Di& range, Image3D& image) { |
|
|
|
|
AbstractTexture::subImage<3>(level, range, image); |
|
|
|
|
@ -783,7 +792,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* for more information. |
|
|
|
|
* @requires_gl45 Extension @extension{ARB,get_texture_sub_image} |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void subImage(Int level, const Range3Di& range, BufferImage3D& image, BufferUsage usage) { |
|
|
|
|
AbstractTexture::subImage<3>(level, range, image, usage); |
|
|
|
|
@ -810,7 +820,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* @ref CompressedPixelStorage::compressedBlockDataSize() are not |
|
|
|
|
* set to non-zero values |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void compressedSubImage(Int level, const Range3Di& range, CompressedImage3D& image) { |
|
|
|
|
AbstractTexture::compressedSubImage<3>(level, range, image); |
|
|
|
|
@ -837,7 +848,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
|
|
|
|
|
* @ref CompressedPixelStorage::compressedBlockDataSize() are not |
|
|
|
|
* set to non-zero values |
|
|
|
|
* @requires_gl Texture image queries are not available in OpenGL ES or |
|
|
|
|
* WebGL. See @ref Framebuffer::read() for possible workaround. |
|
|
|
|
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage() |
|
|
|
|
* for possible workarounds. |
|
|
|
|
*/ |
|
|
|
|
void compressedSubImage(Int level, const Range3Di& range, CompressedBufferImage3D& image, BufferUsage usage) { |
|
|
|
|
AbstractTexture::compressedSubImage<3>(level, range, image, usage); |
|
|
|
|
|