Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
a0e0caed
Commit
a0e0caed
authored
May 09, 2013
by
Janis Born
Browse files
hide specialized ::resize implementations of TextureBase subclasses
parent
0b0ba963
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ACGL/OpenGL/Objects/Texture.hh
View file @
a0e0caed
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment