Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 17th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     public void OnPostRender()
  2.     {
  3.         GL.PushMatrix();
  4.         GL.LoadPixelMatrix();
  5.  
  6.         Graphics.DrawTexture (screenRect : Rect, texture : Texture, leftBorder : int, rightBorder : int, topBorder : int, bottomBorder : int, mat : Material = null);
  7.  
  8.         GL.PopMatrix();
  9.     }