Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2008-09-10 19:07:20 +0400
committerKent Mein <mein@cs.umn.edu>2008-09-10 19:07:20 +0400
commitbd518b8de6702ab1e276f7513bea735cee9417ef (patch)
tree505a326dce7222066cc1600c4316e4ca3a6fcb43 /source/blender/imbuf/intern/dds/DirectDrawSurface.h
parent90272dfdad61a6de223d96ce14a4fe4c75a1347d (diff)
This is patch:
[#15135] imbuf DDS support: sync to nvidia texture tools revision 602 + fix for ATI2 compressed normal maps It just updates the dds stuff. Provided by Amorilia Kent
Diffstat (limited to 'source/blender/imbuf/intern/dds/DirectDrawSurface.h')
-rw-r--r--source/blender/imbuf/intern/dds/DirectDrawSurface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.h b/source/blender/imbuf/intern/dds/DirectDrawSurface.h
index d8abfc69167..28fcc95fe83 100644
--- a/source/blender/imbuf/intern/dds/DirectDrawSurface.h
+++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.h
@@ -142,9 +142,13 @@ public:
uint width() const;
uint height() const;
uint depth() const;
+ bool isTexture1D() const;
bool isTexture2D() const;
bool isTexture3D() const;
bool isTextureCube() const;
+
+ void setNormalFlag(bool b);
+
bool hasAlpha() const; /* false for DXT1, true for all other DXTs */
void mipmap(Image * img, uint f, uint m);