Inheritance: DisposableResource, IDepthStencil
コード例 #1
0
ファイル: RenderTarget.cs プロジェクト: damian-666/ReignSDK
 private void initDepthStencil(int width, int height, DepthStencilFormats depthStencilFormat)
 {
     if (depthStencilFormat != DepthStencilFormats.None)
     {
         depthStencil = new DepthStencil(this, width, height, depthStencilFormat);
     }
 }
コード例 #2
0
ファイル: RenderTarget.cs プロジェクト: reignstudios/ReignSDK
 private void initDepthStencil(int width, int height, DepthStencilFormats depthStencilFormat)
 {
     if (depthStencilFormat != DepthStencilFormats.None) depthStencil = new DepthStencil(this, width, height, depthStencilFormat);
 }