예제 #1
0
            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;
            }
예제 #2
0
 /// <summary>
 /// Release Blitter resources.
 /// </summary>
 public static void Cleanup()
 {
     CoreUtils.Destroy(s_Blit);
     CoreUtils.Destroy(s_BlitTexArray);
     CoreUtils.Destroy(s_BlitTexArraySingleSlice);
 }
예제 #3
0
 public void Dispose()
 {
     CoreUtils.Destroy(mesh);
 }