The command is bbText
And it is pure 2D stuff, so you should consider the impact on the performance if you intermix it with 3D.
While it sounds nice in theory it has a massive overhead due to switching from 3D to 2D and back, for this reason people implemented several bitmap font system that base on single surface approaches ... or whole UI / 2D systems this way (FUI, Sprite Candy)
And it is pure 2D stuff, so you should consider the impact on the performance if you intermix it with 3D.
While it sounds nice in theory it has a massive overhead due to switching from 3D to 2D and back, for this reason people implemented several bitmap font system that base on single surface approaches ... or whole UI / 2D systems this way (FUI, Sprite Candy)