Ejemplo n.º 1
0
        public void AddLogViewer(ILogViewerForm f)
        {
            m_LogViewers.Add(f);

            if (LogLoaded)
            {
                f.OnLogfileLoaded();
                f.OnEventSelected(CurFrame, CurEvent);
            }
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 4
0
        public void AddLogViewer(ILogViewerForm f)
        {
            m_LogViewers.Add(f);

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