第9章 字体

版权声明:转载请注明出处 https://blog.csdn.net/weixin_39918693/article/details/88776283

在游戏中,需要向用户显示一些文本信息

在D3D中创建文本有三种方式:

  • 1、使用ID3DXFont接口
  • 2、使用CD3DFont类
  • 3、使用D3DXCreateText函数

1、ID3DXFont接口


2、CD3DFont


3、D3DXCreateText函数

猜你喜欢

转载自blog.csdn.net/weixin_39918693/article/details/88776283