Creating a Font Engine in DirectX11
Also lets say I want to replace my own text with some other value, such as FPS? I could just replace the _T("HELLO") with fps->getfps() for example?
Well, the second parameter is just a pointer to a TCHAR string in this case so you may use the required string construction functions to manipulate a TCHAR array to contain the desired text. http://msdn.microsoft.com/en-us/library/ybk95axf.aspx contains some string manipulation functions.
Cheers!
Cheers!
This is horrible, I have no idea how to link this up or anything, including its folders though the Linker didnt do anything
http://fw1.codeplex.com/releases/view/75558 <- from this page download FW1FontWrapper 1.1, Header, Lib & DLL x86/x64, you don't need the source code.
Include the lib in your project and put the DLL in your program directory. Include the .h file to your text rendering code and then the code should work.
Cheers!
Include the lib in your project and put the DLL in your program directory. Include the .h file to your text rendering code and then the code should work.
Cheers!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement