diff --git a/lib/graphicsdev/D3D11.cpp b/lib/graphicsdev/D3D11.cpp index 9bf7050..efcf9c6 100644 --- a/lib/graphicsdev/D3D11.cpp +++ b/lib/graphicsdev/D3D11.cpp @@ -795,6 +795,11 @@ struct D3D11CommandQueue : IGraphicsCommandQueue m_texResizes[ctex] = std::make_pair(width, height); } + void schedulePostFrameHandler(std::function&& func) + { + func(); + } + float m_clearColor[4] = {0.0,0.0,0.0,1.0}; void setClearColor(const float rgba[4]) { diff --git a/lib/graphicsdev/D3D12.cpp b/lib/graphicsdev/D3D12.cpp index 1428129..7097c19 100644 --- a/lib/graphicsdev/D3D12.cpp +++ b/lib/graphicsdev/D3D12.cpp @@ -1058,6 +1058,11 @@ struct D3D12CommandQueue : IGraphicsCommandQueue m_texResizes[ctex] = std::make_pair(width, height); } + void schedulePostFrameHandler(std::function&& func) + { + func(); + } + float m_clearColor[4] = {0.0,0.0,0.0,1.0}; void setClearColor(const float rgba[4]) {