/// <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; }
/// <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; }