示例#1
0
文件: Core.cs 项目: UIKit0/renderdoc
        public void AddLogViewer(ILogViewerForm f)
        {
            m_LogViewers.Add(f);

            if (LogLoaded)
            {
                f.OnLogfileLoaded();
                f.OnEventSelected(CurFrame, CurEvent);
            }
        }
示例#2
0
        public void OnLogfileLoaded()
        {
            if (m_Core.APIProps.pipelineType == APIPipelineStateType.D3D11)
            {
                SetToD3D11();
            }
            else if (m_Core.APIProps.pipelineType == APIPipelineStateType.OpenGL)
            {
                SetToGL();
            }

            m_Current.OnLogfileLoaded();
        }
示例#3
0
        public void OnLogfileLoaded()
        {
            if (m_Core.APIProps.pipelineType == GraphicsAPI.D3D11)
            {
                SetToD3D11();
            }
            else if (m_Core.APIProps.pipelineType == GraphicsAPI.OpenGL)
            {
                SetToGL();
            }
            else if (m_Core.APIProps.pipelineType == GraphicsAPI.Vulkan)
            {
                SetToVulkan();
            }

            m_Current.OnLogfileLoaded();
        }
示例#4
0
        public void AddLogViewer(ILogViewerForm f)
        {
            m_LogViewers.Add(f);

            if (LogLoaded)
            {
                f.OnLogfileLoaded();
                f.OnEventSelected(CurFrame, CurEvent);
            }
        }