Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/tools/atlas/GameInterface/ActorViewer.cpp
Show First 20 Lines • Show All 534 Lines • ▼ Show 20 Lines | void ActorViewer::Render() | ||||
g_Renderer.BeginFrame(); | g_Renderer.BeginFrame(); | ||||
Renderer::Backend::IDeviceCommandContext* deviceCommandContext = | Renderer::Backend::IDeviceCommandContext* deviceCommandContext = | ||||
g_Renderer.GetDeviceCommandContext(); | g_Renderer.GetDeviceCommandContext(); | ||||
sceneRenderer.PrepareScene(deviceCommandContext, m); | sceneRenderer.PrepareScene(deviceCommandContext, m); | ||||
deviceCommandContext->BeginFramebufferPass( | deviceCommandContext->BeginFramebufferPass( | ||||
deviceCommandContext->GetDevice()->GetCurrentBackbuffer()); | deviceCommandContext->GetDevice()->GetCurrentBackbuffer( | ||||
Renderer::Backend::AttachmentLoadOp::DONT_CARE, | |||||
Renderer::Backend::AttachmentStoreOp::STORE, | |||||
Renderer::Backend::AttachmentLoadOp::DONT_CARE, | |||||
Renderer::Backend::AttachmentStoreOp::DONT_CARE)); | |||||
sceneRenderer.RenderScene(deviceCommandContext); | sceneRenderer.RenderScene(deviceCommandContext); | ||||
sceneRenderer.RenderSceneOverlays(deviceCommandContext); | sceneRenderer.RenderSceneOverlays(deviceCommandContext); | ||||
{ | { | ||||
CCanvas2D canvas(g_xres, g_yres, g_VideoMode.GetScale(), deviceCommandContext); | CCanvas2D canvas(g_xres, g_yres, g_VideoMode.GetScale(), deviceCommandContext); | ||||
g_Logger->Render(canvas); | g_Logger->Render(canvas); | ||||
g_ProfileViewer.RenderProfile(canvas); | g_ProfileViewer.RenderProfile(canvas); | ||||
Show All 28 Lines |
Wildfire Games · Phabricator