コード例 #1
0
 public static void DeleteTextures(int amount, ref int[] texIds)
 {
     unsafe
     {
         fixed(int *ptr = texIds)
         {
             Delegates.DeleteTextures(amount, ptr);
         }
     }
 }
コード例 #2
0
 public static void DeleteTexture(ref int texId)
 {
     unsafe
     {
         fixed(int *ptr = &texId)
         {
             Delegates.DeleteTextures(1, ptr);
         }
     }
 }