Пример #1
0
 public void ClearSurfaces()
 {
     //for each surface
     for (uint surfaceIndex = 0; surfaceIndex < SurfaceCount; surfaceIndex++)
     {
         //get the eye's surface
         VRSurface surface = Surfaces[surfaceIndex];
         surface.ClearRenderTarget();
     }
 }