Ejemplo n.º 1
0
 /// <summary>
 /// Deactivates this vertex layout in the rendering pipeline, replacing it with whatver layout was active before.
 /// </summary>
 /// <param name="window"></param>
 public void Deactivate(Window3D window)
 {
     window.VertexLayout = SwapLayout;
     SwapLayout = null;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Activates this vertex layout in the rendering pipeline, replacing whatever layout was active before.
 /// </summary>
 /// <param name="window"></param>
 public void Activate(Window3D window)
 {
     SwapLayout = window.VertexLayout;
     window.VertexLayout = this;
 }