예제 #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));
 }