Commit 6040eb8b authored by Eric Bruneton's avatar Eric Bruneton
Browse files

added static method to get GL_MAX_ARRAY_TEXTURE_LAYERS

git-svn-id: svn+ssh:// 28599a00-4e59-401b-b2d8-d34d4661a6c9
parent ae07e01f
......@@ -119,6 +119,13 @@ void Texture2DArray::setCompressedSubImage(int level, int x, int y, int l, int w
assert(FrameBuffer::getError() == GL_NO_ERROR);
int Texture2DArray::getMaxLayers()
GLint l;
return l;
void Texture2DArray::swap(ptr<Texture> t)
......@@ -105,6 +105,11 @@ public:
void setCompressedSubImage(int level, int x, int y, int l, int w, int h, int d, int s, const Buffer &pixels);
* Returns the maximum number of layers for array textures.
static int getMaxLayers();
* The width of this texture.
Supports Markdown
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