예제 #1
0
 public bool AddPostProcess(string _name, PostProcess _postProcess,
                            bool _isEndPostProcess = true)
 {
     if (m_postProcesses.ContainsKey(_name))
     {
         return(false);
     }
     else
     {
         m_postProcesses.Add(_name, _postProcess);
         m_endPostProcessName = _name;
         return(true);
     }
 }
예제 #2
0
        private void DrawGameScene(int _timeInMS)
        {
            PostProcess endProcess = null;

            if (Mgr <Scene> .Singleton.PostProcessManager != null)
            {
                endProcess = Mgr <Scene> .Singleton.PostProcessManager.GetEndProcess();
            }
            if (endProcess != null)
            {
                endProcess.DoRender(_timeInMS);
            }
            else if (Mgr <Scene> .Singleton._renderList != null)
            {
                Mgr <Scene> .Singleton._renderList.DoRender(_timeInMS);
            }
        }