Microsoft DirectX 8.1 (Visual Basic) |
object.CreateImageSurface( _ Width As Long, _ Height As Long, _ Format As CONST_D3DFORMAT) As Direct3DSurface8
A Direct3DSurface8 object, representing the created image surface.
If the method fails, an error is raised and Err.Number may be set to one of the following values.
D3DERR_INVALIDCALL |
D3DERR_OUTOFVIDEOMEMORY |
E_OUTOFMEMORY |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
Image surfaces are place holders, they are surfaces that cannot be used in any Microsoft® Direct3D® operations except locking and Direct3DDevice8.CopyRects.
Image surfaces are placed in the D3DPOOL_SYSTEMMEM memory class.