Sharing Resources. When will this be available

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Eric Penner (EricPenner_at_discussions.microsoft.com)
Date: 06/11/04


Date: Fri, 11 Jun 2004 14:08:01 -0700


If you look in d3d9.h for CreateVertexBuffer/CreateTexture etc. There is an extra parameter called pSharedHandle that is reserved. I bet this was going to be used for sharing resources but they scrapped it. Does anyone know if they intend on letting us use this someday? eg DirectX9c?

It would help a *lot* when rendering to multiple devices. Right now you need to create a copy of each resource for each device.

Eric Penner
Researcher
Ilab, University of Calgary