The default D3D native template has cube renderer sample. Are there any samples to show simple text "Hello World" in D3D template instead of rendering cube? Other word how can I display text in D3D application?
[in] LPD3DXSPRITE pSprite,
[in] LPCTSTR pString,
[in] INT Count,
[in] LPRECT pRect,
[in] DWORD Format,
[in] D3DCOLOR Color
Note: Remember to use a non-zero alpha component for the Color parameter (so, invisible text is not the droid you're looking for...).
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.