CDXBaseSurface Public Data Members

This section lists the public members of the CDXBaseSurface class.

m_dwAppData

A 32-bit value that can be used to store custom data about the surface.

m_dwStatusFlags

A value that contains flags from the DXLOCKSURF and DXSURFSTATUS enumerations that gives users information about your surface. Procedural surfaces created from this base class always set the DXSURF_READONLY flag set to TRUE.

m_Height

The height of the surface, in pixels. The default value is zero, so you should use the CDXBaseSurface::OnSetSize function to change this value prior to rendering the surface.

m_Width

The width of the surface, in pixels. The default value is zero, so you should use the CDXBaseSurface::OnSetSize function to change this value prior to rendering the surface.

 

 

Show: