Blender V2.61 - r43446
Public Member Functions

DirectDrawSurface Class Reference

DirectDraw Surface. (DDS) More...

#include <DirectDrawSurface.h>

List of all members.

Public Member Functions

 DirectDrawSurface (unsigned char *mem, uint size)
 ~DirectDrawSurface ()
bool isValid () const
bool isSupported () const
bool hasAlpha () const
uint mipmapCount () const
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)
void setHasAlphaFlag (bool b)
void setUserVersion (int version)
void mipmap (Image *img, uint f, uint m)
void printInfo () const

Detailed Description

DirectDraw Surface. (DDS)

Definition at line 149 of file DirectDrawSurface.h.


Constructor & Destructor Documentation

DirectDrawSurface::DirectDrawSurface ( unsigned char *  mem,
uint  size 
)
DirectDrawSurface::~DirectDrawSurface ( )

Definition at line 890 of file DirectDrawSurface.cpp.


Member Function Documentation

uint DirectDrawSurface::depth ( ) const

Definition at line 1032 of file DirectDrawSurface.cpp.

References DDSD_DEPTH, DDSHeader::depth, and DDSHeader::flags.

bool DirectDrawSurface::hasAlpha ( ) const
uint DirectDrawSurface::height ( ) const

Definition at line 1026 of file DirectDrawSurface.cpp.

References DDSD_HEIGHT, DDSHeader::flags, and DDSHeader::height.

Referenced by imb_load_dds(), and mipmap().

bool DirectDrawSurface::isSupported ( ) const
bool DirectDrawSurface::isTexture1D ( ) const
bool DirectDrawSurface::isTexture2D ( ) const
bool DirectDrawSurface::isTexture3D ( ) const
bool DirectDrawSurface::isTextureCube ( ) const

Definition at line 1071 of file DirectDrawSurface.cpp.

References DDSHeader::caps, DDSCaps::caps2, and DDSCAPS2_CUBEMAP.

Referenced by isSupported(), and isTexture2D().

bool DirectDrawSurface::isValid ( ) const
void DirectDrawSurface::mipmap ( Image img,
uint  f,
uint  m 
)
uint DirectDrawSurface::mipmapCount ( ) const
void DirectDrawSurface::printInfo ( ) const
void DirectDrawSurface::setHasAlphaFlag ( bool  b)

Definition at line 1081 of file DirectDrawSurface.cpp.

References DDSHeader::setHasAlphaFlag().

void DirectDrawSurface::setNormalFlag ( bool  b)

Definition at line 1076 of file DirectDrawSurface.cpp.

References DDSHeader::setNormalFlag().

void DirectDrawSurface::setUserVersion ( int  version)

Definition at line 1086 of file DirectDrawSurface.cpp.

References DDSHeader::setUserVersion().

uint DirectDrawSurface::width ( ) const

Definition at line 1020 of file DirectDrawSurface.cpp.

References DDSD_WIDTH, DDSHeader::flags, and DDSHeader::width.

Referenced by imb_load_dds(), and mipmap().


The documentation for this class was generated from the following files: