Forgot your password?
Or sign in with one of these services
, April 21, 2006 in Graphics and GPU Programming
This topic is 4324 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 ***
Started Wednesday at 04:48 PM
Started Tuesday at 03:57 PM
Started Tuesday at 01:12 PM
Started Tuesday at 08:11 AM
Started Tuesday at 12:31 AM
Create an account with GameDev.net and join the game development conversation on our forums, blogs, articles, and more!