→ home
 
→ index of namespace default
 
→ index of project debugtext
 
→ index of module MDebugText

Class MDebugText.DebugText


Synopsis: A simple utility class to render fixed-size debug text.

  Functions:
  Constants:
Function BindTexture
Signature
BindTexture()

 
→ top of page
Function Draw
Preserve current GL state, setup viewport/projection and render (shadowed) text.
Signature
Draw(floatx,
  floaty,
  Stringmsg,
  intfg32,
  intbg32 
  )  
Arguments
floatx–
floaty–
Stringmsg–
intfg32–
intbg32–

 
→ top of page
Function DrawScaled3f
Render text according to current viewport/projection. Assumes that BindTexture() has been called.
Signature
DrawScaled3f(floatx,
  floaty,
  floatz,
  floatsclx,
  floatscly,
  Stringmsg 
  )  
Arguments
floatx–
floaty–
floatz–
floatsclx–
floatscly–
Stringmsg–

 
→ top of page
Function LoadTexture
Signature
LoadTexture()

 
→ top of page
Function OnOpen
Call this to make sure that the texture is (re-)loaded.
Signature
OnOpen()

 
→ top of page
Constant CHAR_SX (int)
Constant CHAR_SY (int)

 

Project Modules:MDebugText 
Project Classes:DebugText 
Project Functions:
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54