Multi swapchain support (#257)
* multi swapchain draft * uwp fix * swapchain resize handling * swapchain buffercount * vsync toggle * tests fix * update * everything removed from graphicsdevice regarding global screen params, engine refactor * added GetSwapChainTexture() function to graphics device; screenshot() now requires swapChain * linux fix: vulkan device needs window handle for instance creation * refactor * removed unused includes * shader refactor and lensflare fix * swapchain clearcolor and other refactors * vulkan: no vector allocation in submit * tests fix * refactors * lens flare canvas size fix * gui refactor for canvas support * refactors * removed global canvas state * msaa fix * fixes * refactor to minimize interface changes * gui changes * checkbox fix * gui fixes * fixes * input system will accept window handle * editor fixes * refactor and removed resolution related system events * small editor update * refactor: renderpath inherits from canvas * fixed tests duh * image refactor * image fix * removed every using namespace std * pushconstant fix * editor: object picking only when necessary * removed include * dx12: copy fence waiting performed on CPU * dx12 copyallocator update * vulkan: copy allocator with timeline semaphores * missing include * dx12 copy allocator update * refactor * editor update * vulkan copy allocator fix * dx12 update * vulkan, dx12 fixes * version bump * vsync event helper * documentation update * updated vulkan, dx12, dxc
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
using namespace std;
|
||||
using namespace wiECS;
|
||||
using namespace wiScene;
|
||||
|
||||
@@ -756,16 +755,16 @@ void EmitterWindow::UpdateData()
|
||||
NameComponent* name = scene.names.GetComponent(entity);
|
||||
NameComponent* meshName = scene.names.GetComponent(emitter->meshID);
|
||||
|
||||
stringstream ss("");
|
||||
std::stringstream ss("");
|
||||
ss.precision(2);
|
||||
ss << "Emitter Mesh: " << (meshName != nullptr ? meshName->name : "NO EMITTER MESH") << " (" << emitter->meshID << ")" << endl;
|
||||
ss << "Memort Budget: " << emitter->GetMemorySizeInBytes() / 1024.0f / 1024.0f << " MB" << endl;
|
||||
ss << endl;
|
||||
ss << "Emitter Mesh: " << (meshName != nullptr ? meshName->name : "NO EMITTER MESH") << " (" << emitter->meshID << ")" << std::endl;
|
||||
ss << "Memort Budget: " << emitter->GetMemorySizeInBytes() / 1024.0f / 1024.0f << " MB" << std::endl;
|
||||
ss << std::endl;
|
||||
|
||||
auto data = emitter->GetStatistics();
|
||||
ss << "Alive Particle Count = " << data.aliveCount << endl;
|
||||
ss << "Dead Particle Count = " << data.deadCount << endl;
|
||||
ss << "GPU Emit count = " << data.realEmitCount << endl;
|
||||
ss << "Alive Particle Count = " << data.aliveCount << std::endl;
|
||||
ss << "Dead Particle Count = " << data.deadCount << std::endl;
|
||||
ss << "GPU Emit count = " << data.realEmitCount << std::endl;
|
||||
|
||||
infoLabel.SetText(ss.str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user