internal void Cleanup() { CoreUtils.Destroy(TexL0_L1rx); CoreUtils.Destroy(TexL1_G_ry); CoreUtils.Destroy(TexL1_B_rz); CoreUtils.Destroy(TexL2_0); CoreUtils.Destroy(TexL2_1); CoreUtils.Destroy(TexL2_2); CoreUtils.Destroy(TexL2_3); TexL0_L1rx = null; TexL1_G_ry = null; TexL1_B_rz = null; TexL2_0 = null; TexL2_1 = null; TexL2_2 = null; TexL2_3 = null; }
/// <summary> /// Release Blitter resources. /// </summary> public static void Cleanup() { CoreUtils.Destroy(s_Blit); CoreUtils.Destroy(s_BlitTexArray); CoreUtils.Destroy(s_BlitTexArraySingleSlice); }
public void Dispose() { CoreUtils.Destroy(mesh); }