コード例 #1
0
ファイル: VertexLayout.cs プロジェクト: JoshGrooms/Tesseract
 /// <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;
 }
コード例 #2
0
ファイル: VertexLayout.cs プロジェクト: JoshGrooms/Tesseract
 /// <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;
 }