public static void DeleteTextures(int amount, ref int[] texIds) { unsafe { fixed(int *ptr = texIds) { Delegates.DeleteTextures(amount, ptr); } } }
public static void DeleteTexture(ref int texId) { unsafe { fixed(int *ptr = &texId) { Delegates.DeleteTextures(1, ptr); } } }