Наследование: 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);
 }