public void AddLogViewer(ILogViewerForm f) { m_LogViewers.Add(f); if (LogLoaded) { f.OnLogfileLoaded(); f.OnEventSelected(CurFrame, CurEvent); } }
public void OnLogfileLoaded() { if (m_Core.APIProps.pipelineType == APIPipelineStateType.D3D11) { SetToD3D11(); } else if (m_Core.APIProps.pipelineType == APIPipelineStateType.OpenGL) { SetToGL(); } m_Current.OnLogfileLoaded(); }
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(); }