Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Deriving IDirectXFileData

1 view
Skip to first unread message
Message has been deleted

Richard [Microsoft Direct3D MVP]

unread,
Dec 22, 2009, 5:13:36 PM12/22/09
to
[Please do not mail me a copy of your followup]

Robert <watki...@hotmail.com> spake the secret code
<2ca1d59d-7f59-4355...@a21g2000yqc.googlegroups.com> thusly:

>I am trying to derive a class from IdirectXFileData so that I can
>create an array of objects so that I can then save the objects as
>multi-materials.

I don't know why you're attempting to implement IDirectXFileData; you
do not need to do this.

To store custom data in a .x file, define a template for it and then
use the regular interfaces to read/write the contents of the template.

Furthermore, the IDirectXFile* interfaces are deprecated and you
should be using ID3DXFile* interfaces now.

For more about .x files, see Chapter 21 from my book "The Direct3D
Graphics Pipeline"
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

0 new messages