static void BindResources(MyRenderContext RC) { RC.BindGBufferForWrite(MyGBuffer.Main, DepthStencilAccess.ReadOnly); RC.BindSRVs(0, MyGBuffer.Main.DepthStencil.Depth, MyRender11.Gbuffer1Copy); }