Microsoft DirectX 8.1 (Visual Basic) |
object.GetCubeMapSurface( _ FaceType As CONST_D3DCUBEMAP_FACES, _ Level As Long) As Direct3DSurface8
This method returns a Direct3DSurface8 object, representing the returned cube map surface.
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.