15 years, 6 months ago
Highlights
15 years, 6 months ago
// Create a font array LPD3DXFONT lpD3DXfont[MAX_FONTS] = {NULL}; // then you can create up to MAX_FONTS you like. for (UINT i = 0; i < MAX_FONTS; i++) { D3DXCreateFont(m_pd3…
15 years, 6 months ago
I was wondering when creating a font object using D3DXCreateFont. Is it best to create the object when creating the device and then using this device over and over again. This a…
15 years, 6 months ago
Create the font once at initialization. If you want to draw text with different fonts, simply create more fonts. Thanks, it didn't really come to me to do it that way, i pro…
15 years, 6 months ago
Latest Activity
// Create a font array LPD3DXFONT lpD3DXfont[MAX_FONTS] = {NULL}; // then you can create up to MAX_FONTS you like. for …
15 years, 6 months ago
Create the font once at initialization. If you want to draw text with different fonts, simply create more fonts. Thanks, …
15 years, 6 months ago
I was wondering when creating a font object using D3DXCreateFont. Is it best to create the object when creating the …
15 years, 6 months ago