Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a description of the surface.
Syntax
HRESULT GetDesc(
[out] D3DSURFACE_DESC *pDesc
);
Parameters
[out] pDesc
Type: D3DSURFACE_DESC*
Pointer to a D3DSURFACE_DESC structure, describing the surface.
Return value
Type: HRESULT
If the method succeeds, the return value is D3D_OK.
D3DERR_INVALIDCALL is returned if the argument is invalid.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d9helper.h (include D3D9.h) |
| Library | D3D9.lib |