diff options
Diffstat (limited to 'source/gameengine/Rasterizer')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_IRenderTools.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/gameengine/Rasterizer/RAS_IRenderTools.h b/source/gameengine/Rasterizer/RAS_IRenderTools.h index 50de4980e1d..dab28de27f4 100644 --- a/source/gameengine/Rasterizer/RAS_IRenderTools.h +++ b/source/gameengine/Rasterizer/RAS_IRenderTools.h @@ -99,6 +99,28 @@ public: )=0; /** + * Renders 3D text string using BFL. + * @param fontid The id of the font. + * @param text The string to render. + * @param size The size of the text. + * @param dpi The resolution of the text. + * @param color The color of the object. + * @param mat The Matrix of the text object. + * @param aspect A scaling factor to compensate for the size. + */ + virtual + void + RenderText3D(int fontid, + const char* text, + int size, + int dpi, + float* color, + double* mat, + float aspect + ) = 0; + + + /** * Renders 2D text string. * @param mode The type of text * @param text The string to render. |