public void Enable(DepthStencilI depthStencil)
 {
     Debug.ThrowError("RenderTarget", "DepthStencils are build into Rendertargets, thus this method does not apply to XNA");
 }
Exemple #2
0
 public void EnableRenderTarget(DepthStencilI depthStencil)
 {
     currentFrameBuffer = context.Screen;
     ((DepthStencil)depthStencil).enable();
     context.SetFrameBuffer(currentFrameBuffer);
 }
 public void Enable(DepthStencilI depthStencil)
 {
     frameBuffer.SetDepthTarget(((DepthStencil)depthStencil).depthBuffer);
     video.context.SetFrameBuffer(frameBuffer);
 }
Exemple #4
0
 public void EnableRenderTarget(DepthStencilI depthStencil)
 {
     currentFrameBuffer = context.Screen;
     ((DepthStencil)depthStencil).enable();
     context.SetFrameBuffer(currentFrameBuffer);
 }
Exemple #5
0
 public void EnableRenderTarget(DepthStencilI depthStencil)
 {
     Debug.ThrowError("Video", "DepthStencils are build into Rendertargets, thus this method does not apply to XNA");
 }
Exemple #6
0
 public void Enable(DepthStencilI depthStencil)
 {
     frameBuffer.SetDepthTarget(((DepthStencil)depthStencil).depthBuffer);
     video.context.SetFrameBuffer(frameBuffer);
 }