示例#1
0
 public static STexture AddTexture(Bitmap Bitmap)
 {
     return(_Draw.AddTexture(Bitmap));
 }
示例#2
0
文件: CDraw.cs 项目: da-ka/Vocaluxe
 /// <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));
 }