Commit a0e0caed authored by Janis Born's avatar Janis Born

hide specialized ::resize implementations of TextureBase subclasses

parent 0b0ba963
......@@ -276,6 +276,7 @@ public:
//! sets the content to the given TextureData, might resize the texture
void setImageData( const SharedTextureData &_data );
protected:
//! content of the texture is undefined after this, this texture will be bound to the active binding point
//! nothing should be bound to the pixel unpack buffer when calling this
void resizeI( const glm::uvec3 &_newSize );
......@@ -304,6 +305,7 @@ public:
//! sets the content to the given TextureData, might resize the texture
void setImageData( const SharedTextureData &_data, uint32_t _mipmapLayer = 0 );
protected:
//! content of the texture is undefined after this, this texture will be bound to the active binding point
//! nothing should be bound to the pixel unpack buffer when calling this
void resizeI( const glm::uvec3 &_newSize );
......@@ -326,6 +328,7 @@ public:
//! sets the content to the given TextureData, might resize the texture
void setImageData( const SharedTextureData &_data, uint32_t _mipmapLayer = 0 );
protected:
//! content of the texture is undefined after this, this texture will be bound to the active binding point
//! nothing should be bound to the pixel unpack buffer when calling this
void resizeI( const glm::uvec3 &_newSize );
......@@ -352,6 +355,7 @@ public:
//! sets the content of all slices to the given TextureData
void setImageData( const SharedTextureData &_data, uint32_t _mipmapLayer = 0 );
protected:
//! content of the texture is undefined after this, this texture will be bound to the active binding point
//! nothing should be bound to the pixel unpack buffer when calling this
void resizeI( const glm::uvec3 &_newSize );
......@@ -377,6 +381,7 @@ public:
//! sets the content to the given TextureData to fill all layers
void setImageData( const SharedTextureData &_data, uint32_t _mipmapLayer = 0 );
protected:
//! content of the texture is undefined after this, this texture will be bound to the active binding point
//! nothing should be bound to the pixel unpack buffer when calling this
void resizeI( const glm::uvec3 &_newSize );
......@@ -403,6 +408,7 @@ public:
//! sets the content to the given TextureData, might resize the texture
void setImageData( const SharedTextureData &_data, uint32_t _arrayLayer = 0, uint32_t _mipmapLayer = 0 );
protected:
//! content of the texture is undefined after this, this texture will be bound to the active binding point
//! nothing should be bound to the pixel unpack buffer when calling this
void resizeI( const glm::uvec3 &_newSize );
......@@ -425,6 +431,7 @@ public:
//! sets the content to the given TextureData, might resize the texture
void setImageData( const SharedTextureData &_data, GLenum _cubeSide, uint32_t _mipmapLayer = 0 );
protected:
//! content of the texture is undefined after this, this texture will be bound to the active binding point
//! nothing should be bound to the pixel unpack buffer when calling this
void resizeI( const glm::uvec3 &_newSize );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment