Inheritance: DisposableResource, IDepthStencil
示例#1
0
 private void initDepthStencil(int width, int height, DepthStencilFormats depthStencilFormat)
 {
     if (depthStencilFormat != DepthStencilFormats.None)
     {
         depthStencil = new DepthStencil(this, width, height, depthStencilFormat);
     }
 }
示例#2
0
 private void initDepthStencil(int width, int height, DepthStencilFormats depthStencilFormat)
 {
     if (depthStencilFormat != DepthStencilFormats.None) depthStencil = new DepthStencil(this, width, height, depthStencilFormat);
 }