Forgot your password?
Or sign in with one of these services
derek7, April 21, 2006 in Graphics and GPU Programming
This topic is 4496 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 ***
Timothy SharpStarted 17 hours ago
ShaariganStarted Sunday at 03:43 PM
GalacticCrewStarted Saturday at 09:57 PM
karnaltaBStarted Wednesday at 07:27 PM
deltaKshatriyaStarted August 7
We are the game development community.
Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!