|
@@ -46,6 +46,7 @@
|
|
|
#include "pnmImage.h"
|
|
#include "pnmImage.h"
|
|
|
#include "pfmFile.h"
|
|
#include "pfmFile.h"
|
|
|
#include "asyncFuture.h"
|
|
#include "asyncFuture.h"
|
|
|
|
|
+#include "extension.h"
|
|
|
|
|
|
|
|
class TextureContext;
|
|
class TextureContext;
|
|
|
class FactoryParams;
|
|
class FactoryParams;
|
|
@@ -472,6 +473,8 @@ PUBLISHED:
|
|
|
MAKE_PROPERTY(keep_ram_image, get_keep_ram_image, set_keep_ram_image);
|
|
MAKE_PROPERTY(keep_ram_image, get_keep_ram_image, set_keep_ram_image);
|
|
|
MAKE_PROPERTY(cacheable, is_cacheable);
|
|
MAKE_PROPERTY(cacheable, is_cacheable);
|
|
|
|
|
|
|
|
|
|
+ EXTENSION(PT(Texture) __deepcopy__(PyObject *memo) const);
|
|
|
|
|
+
|
|
|
BLOCKING INLINE bool compress_ram_image(CompressionMode compression = CM_on,
|
|
BLOCKING INLINE bool compress_ram_image(CompressionMode compression = CM_on,
|
|
|
QualityLevel quality_level = QL_default,
|
|
QualityLevel quality_level = QL_default,
|
|
|
GraphicsStateGuardianBase *gsg = nullptr);
|
|
GraphicsStateGuardianBase *gsg = nullptr);
|
|
@@ -1110,6 +1113,7 @@ private:
|
|
|
|
|
|
|
|
static TypeHandle _type_handle;
|
|
static TypeHandle _type_handle;
|
|
|
|
|
|
|
|
|
|
+ friend class Extension<Texture>;
|
|
|
friend class TextureContext;
|
|
friend class TextureContext;
|
|
|
friend class PreparedGraphicsObjects;
|
|
friend class PreparedGraphicsObjects;
|
|
|
friend class TexturePool;
|
|
friend class TexturePool;
|