Deprecated: Function split() is deprecated in /home/wiki/public_html/inc/common.php on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/wiki/public_html/inc/common.php:533) in /home/wiki/public_html/inc/actions.php on line 71
tvscreen2dtext:action_begintext [TV3DWiki]
 

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

NAMEOPTIONALDESCRIPTION
bUseScreen2DYesbUseScreen2D description

RETURN VALUE

Null Does not return a value.

EXAMPLES

ExampleBasic 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()
 

TIPS

  • Please add any notes or tips for this method.
 
tvscreen2dtext/action_begintext.txt · Last modified: 2010/06/12 11:40 by 86.175.123.69