25 #ifndef OSD_GL_PTEX_MIPMAP_TEXTURE_H
26 #define OSD_GL_PTEX_MIPMAP_TEXTURE_H
28 #include "../version.h"
30 #include "../osd/nonCopyable.h"
31 #include "../osd/opengl.h"
37 namespace OpenSubdiv {
38 namespace OPENSUBDIV_VERSION {
46 size_t targetMemory=0);
78 using namespace OPENSUBDIV_VERSION;
82 #endif // OSD_GL_PTEX_MIPMAP_TEXTURE_H
static GLPtexMipmapTexture * Create(PtexTexture *reader, int maxLevels=-1, size_t targetMemory=0)
GLuint GetTexelsTexture() const
Returns the texels texture array.
size_t GetMemoryUsage() const
Returns the amount of allocated memory (in byte)
GLuint GetLayoutTextureBuffer() const