Пример #1
0
 public Canvas(RenderingBridge renderingBridge)
 {
     _renderingBridge = renderingBridge;
     _renderQueue     = new Queue <UIElement>();
 }
Пример #2
0
 internal static void RenderLandentries(this LandEntryRenderBatch geometry, Material material, RenderingBridge renderingBridge)
 {
     foreach (var g in geometry)
     {
         foreach (var t in g.Value)
         {
             BufferMesh m = t.Key;
             material.BufferMaterial = m.Material;
             material.BufferMaterial = m.Material;
             renderingBridge.RenderMesh(m, t.Value);
         }
     }
 }