Wiki > TV3D65 Index > TVScreen2DText
Action_BeginText
DESCRIPTION
Begins the render of the text.
DECLARATION
| VB.NET | Action_BeginText(bUseScreen2D As Boolean) |
| C++ | void Action_BeginText(bool bUseScreen2D ) |
PARAMETERS
| NAME | OPTIONAL | DESCRIPTION |
| bUseScreen2D | Yes | bUseScreen2D description |
RETURN VALUE
| Null | Does not return a value. |
EXAMPLES
'VB.NET example
'Its important to use the BeginText and EndText Actions to wrap any large amounts of text for optimisation.
Text.Action_BeginText()
Text.TextureFont_DrawText("Video Memory Usage ", 10, 25, TVglobal.RGBA(1, 0, 0, 1), MenuFont)
Text.TextureFont_DrawText("Vcard free memory " & (Tex.GetFreeTextureMemory() / 1024 / 1024) & " MB", 10, 40, TVglobal.RGBA(1, 0, 0, 1), MenuFont)
Text.TextureFont_DrawText("Vcard used memory " & (Tex.GetUsedTextureMemory() / 1024 / 1024) & " MB", 10, 55, TVglobal.RGBA(1, 0, 0, 1), MenuFont)
Text.Action_EndText()
TIPS
- Please add any notes or tips for this method.