Jump to content
  • Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

645 Good

About chadmv

  • Rank
  1. Sounds good.  Thanks for the help!
  2. Hello,   According to the docs, when the device is initialized a default command queue is created.  How do I access that default command queue?  The samples all create new ones with CreateCommandQueue.   Thank you.
  3. While looking at some code, I've seen handle id's for things like textures and entities stored as: struct Handle {   uint32_t id; }; What's the benefit of storing the id in a struct like that as opposed to something like: typedef uint32_t Handle; For example, I see handles defined in structs here and here   Thanks!    
  4. chadmv

    directxmath osx/linux?

    Thanks!  Maybe I'll just go with GLM since my project needs to be cross-platform and it seems to work out of the box.
  5. Would directxmath.h work on osx/linux with OpenGL?  I know there's the difference in normalized device coordinates but is there anything in the API that restricts it to Windows?   Thanks!     Edit:   I'm guessing these preprocessor directives would prevent it from running on the other platforms: #if !defined(_XM_BIGENDIAN_) && !defined(_XM_LITTLEENDIAN_) #if defined(_M_AMD64) || defined(_M_IX86) || defined(_M_ARM) #define _XM_LITTLEENDIAN_ #elif defined(_M_PPCBE) #define _XM_BIGENDIAN_ #else #error DirectX Math does not support this target #endif #endif // !_XM_BIGENDIAN_ && !_XM_LITTLEENDIAN_
  6. I was getting those.  Make sure you are releasing everything you create.  I was getting them because I forgot to release the adapters I queried from EnumAdapters and the output I queried from the adapter. 
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

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!

Sign me up!