Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/dds/DirectDrawSurface.h
| Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | struct DDSHeader { | ||||
| bool hasAlpha() const; | bool hasAlpha() const; | ||||
| uint d3d9Format() const; | uint d3d9Format() const; | ||||
| }; | }; | ||||
| /** DirectDraw Surface. (DDS) */ | /** DirectDraw Surface. (DDS) */ | ||||
| class DirectDrawSurface { | class DirectDrawSurface { | ||||
| public: | public: | ||||
| DirectDrawSurface(unsigned char *mem, uint size); | DirectDrawSurface(unsigned char *mem, uint size); | ||||
| ~DirectDrawSurface(); | |||||
| bool isValid() const; | bool isValid() const; | ||||
| bool isSupported() const; | bool isSupported() const; | ||||
| bool hasAlpha() const; | bool hasAlpha() const; | ||||
| uint mipmapCount() const; | uint mipmapCount() const; | ||||
| uint fourCC() const; | uint fourCC() const; | ||||
| Show All 38 Lines | |||||