Questions tagged [directxtk]

This tag is for questions related to the open source C++ utility library DirectX Tool Kit available for DirectX 11 and DirectX 12.

This tag is for questions related to the open source C++ utility library DirectX Tool Kit available for DirectX 11 and DirectX 12.

65 questions
0
votes
2 answers

DirectxTK SpriteBatch and Viewport Centering

I am using DirectXTK for C++, and am making heavy use of the sprite batch function. I am trying to develop an isometric rendering engine. I've already gotten the isometric rendering to work properly. Along with offsetting. However I run into one…
0
votes
1 answer

loading mesh with DirectXTK

I use DirectXTK to load mesh. First, I import .fbx into vs2015 and build, then get .cmo file. Then I use DirectXTK load .cmo as follow: bool MeshDemo::BuildModels() { m_fxFactory.reset(new EffectFactory(m_pd3dDevice)); m_states.reset(new…
zhangbaochong
  • 170
  • 1
  • 9
0
votes
1 answer

Directxtk SpriteFont blurry when not whole number

The text becomes blurry if I use a non whole number for the position of the string. Any ideas what is causing this and how to correct it? this->pSpriteBatch->Begin(); this->pSpriteFont->DrawString(this->pSpriteBatch, szTempMessage, XMFLOAT2(x, y),…
John
  • 5,942
  • 3
  • 42
  • 79
-1
votes
1 answer

Why am I unable to use CreateWICTextureFromFileEx after shutting down SDL

I am trying to shutdown my DX12 renderer, and restart it within the same process. Said application is heavily based on the microsoft MiniEngine example code, now with some modification to allow re-initialisation of global variables. I am using SDL…
mike
  • 1,192
  • 9
  • 32
-2
votes
1 answer

Setting up DirectXTK mouse and keyboard gives Unresolved external symbol

I follow the tutorial here: Mouse and keyboard input I don't get any error if i delete everything that has to do with DirectX. If i use pointer insted then i get a error that says my inputhandler constructor was deleted. Any ideas? h #pragma…
Hamaro
  • 49
  • 9
1 2 3 4
5