Ejemplo n.º 1
0
    void ReleaseRenderBuffer(ScriptableRenderContext context)
    {
        CmdBuff.ReleaseTemporaryRT(RenderBuffer1ID);
        CmdBuff.ReleaseTemporaryRT(RenderBuffer2ID);
        CmdBuff.ReleaseTemporaryRT(DepthBufferID);
        CmdBuff.ReleaseTemporaryRT(ShadowBufferID);

        context.ExecuteCommandBuffer(CmdBuff);
        CmdBuff.Clear();
    }