예제 #1
0
 private DepthStencilOperationDescription ToD3D11StencilOpDesc(StencilBehaviorDescription sbd)
 {
     return(new DepthStencilOperationDescription
     {
         Comparison = D3D11Formats.VdToD3D11Comparison(sbd.Comparison),
         PassOperation = D3D11Formats.VdToD3D11StencilOperation(sbd.Pass),
         FailOperation = D3D11Formats.VdToD3D11StencilOperation(sbd.Fail),
         DepthFailOperation = D3D11Formats.VdToD3D11StencilOperation(sbd.DepthFail)
     });
 }