Wiki > TV3D65 Index > TVScreen2DText
Ends the rendering of the text.
| VB.NET | Action_EndText() |
|---|---|
| C++ | void Action_EndText() |
None
| Null | Does not return a value. |
|---|
| Example | Basic example. |
|---|
'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()