Exemplo n.º 1
0
 internal static void Run()
 {
     RC.SetDS(MyDepthStencilState.MarkAAEdge, 0xFF);
     RC.SetPS(m_ps);
     RC.BindDepthRT(MyGBuffer.Main.Get(MyGbufferSlot.DepthStencil), DepthStencilAccess.DepthReadOnly, null);
     RC.BindGBufferForReadSkipStencil(0, MyGBuffer.Main);
     DrawFullscreenQuad();
     RC.SetDS(null);
 }