Re: Surface is deprecated



"Julien" <Julien@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0D3AC072-9789-430C-852F-60A191DBE142@xxxxxxxxxxxxxxxx
> Hi,
> I was surprise when i saw the surface class was deprecated. Is there an
> alternative class, so?
> Thank you.

You are I presume referring to the DirectDraw.Surface class. It's more than
the Surface class that's deprecated, the DirectDraw namespace is deprecated
and not recommended for new designs. Note that the underlying DirectDraw
native interfaces was last advanced with the release of DirectX 7.

You can migrate 2D applications to Direct3D fairly easily, either by
implementing your own functions that render textured quads to simulate blits
(but with a lot more functionality and effects available!), or use the ready
made Direct3D.Sprite class.

--
Robert Dunlop
The X-Zone
http://www.directxzone.com/
Microsoft DirectX MVP
-------------
The opinions expressed in this message are my own personal views and do not
reflect the official views of the Microsoft Corporation.
The MVP program does not constitute employment or contractual obligation
with Microsoft.


.



Relevant Pages

  • Re: Surface is deprecated
    ... >> I was surprise when i saw the surface class was deprecated. ... Note that the underlying DirectDraw ... > Microsoft DirectX MVP ... > reflect the official views of the Microsoft Corporation. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Accessing a DirectDraw Interface in DirectX9
    ... Microsoft Windows® Graphics Device Interface Interoperability. ... load from the resource fork exists. ... DirectDraw interface via wrappers. ... PNG's as resources in the RC file rather than strictly offering a load from ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Accessing a DirectDraw Interface in DirectX9
    ... need to support .NET directly. ... The regret is that Microsoft doesn't offer a valid ... There is one gaming ... DirectDraw graphics. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Directdraw
    ... I was moaning about the fact that DirectDraw was not much different to DOS, ... I have never understood why Microsoft have not been able to: ... Make DirectDraw a proper 2D library with all the supporting graphics ... a real killer product, it does have the potential and it would make many ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Surfaces in Direct3D
    ... I noticed that in DirectDraw the surface class has a draw method, ... textures the only way to draw. ...
    (microsoft.public.win32.programmer.directx.managed)