public Canvas(RenderingBridge renderingBridge) { _renderingBridge = renderingBridge; _renderQueue = new Queue <UIElement>(); }
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); } } }