Forgot your password?
Or sign in with one of these services
derek7, April 21, 2006 in Graphics and GPU Programming
This topic is 4652 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.
If you intended to correct an error in the post then please contact us.
Quote:Original post by jollyjeffersThe SDK documentation has everything you need to know about how the templates are defined: DirectX Graphics -> Direct3D 9 -> Programming Guide -> Getting Started -> XFiles (Legacy).I'm not aware of a "default template" though. Why do you think there is one, or where have you seen it mentioned?Jack
#include <d3dx9xof.h>#include <rmxfguid.h>#include <rmxftmpl.h>ID3DXFile* pXFile = NULL;D3DXFileCreate(&pXFile);pXFile->RegisterTemplates( D3DRM_XTEMPLATES, D3DRM_XTEMPLATE_BYTES);
Quote:Original post by DXnutTo register the default templates so that you can parse a .x file with the ID3DXFile interface you need the following:*** Source Snippet Removed ***
In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.
(You must login to your GameDev.net account.)
khawkStarted 22 hours ago
jakovoStarted Monday at 04:50 PM
DividedByZeroStarted Monday at 03:07 AM
Stackmann0Started Friday at 06:38 PM
khawkStarted January 11
GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.