Ejemplo n.º 1
0
 public static STexture AddTexture(Bitmap Bitmap)
 {
     return(_Draw.AddTexture(Bitmap));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Adds a texture from a Bitmap and returns a reference to it<br />
 ///     Must be called from main thread!
 /// </summary>
 /// <param name="bitmap"></param>
 /// <returns>Reference to texture</returns>
 public static CTextureRef AddTexture(Bitmap bitmap)
 {
     return(_Draw.AddTexture(bitmap));
 }