a7b7d6cefc
Enabled texture object reuse by setting an expiry delay in the TextureObjectManager of 10 seconds - done for both osgDB::DatabasePager and TXP plugin.
16 lines
256 B
C++
16 lines
256 B
C++
#ifndef IVE_PAGEDLOD
|
|
#define IVE_PAGEDLOD 1
|
|
|
|
#include <osg/PagedLOD>
|
|
#include "ReadWrite.h"
|
|
|
|
namespace ive{
|
|
class PagedLOD : public osg::PagedLOD, public ReadWrite {
|
|
public:
|
|
void write(DataOutputStream* out);
|
|
void read(DataInputStream* in);
|
|
};
|
|
}
|
|
|
|
#endif
|