Members Chapter Previous Next

## class CDXSurface

Class CDXResource;

This is basically a straight wrapper for a IDirectDrawSurface object, it holds bitmap information for later copying to the screen. As you will see CDXSurface is used as a base class for several other classes in CDX. Remember that with DirectX you can't create surfaces wider than the width of the screen unless you create them in system memory (slow!).

`#include "cdxsurface.h"`