mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-07 23:31:13 +00:00
Allow creating completely headless outputs and reading back their output
* This is useful when writing automated tests that want to test the output of rendering which only happens to outputs, such as mesh rendering, or could potentially be bypassed with direct readback like GetTextureData vs rendering a texture.
This commit is contained in:
@@ -81,10 +81,18 @@ public:
|
||||
}
|
||||
void DestroyOutputWindow(uint64_t id) { m_Proxy->DestroyOutputWindow(id); }
|
||||
bool CheckResizeOutputWindow(uint64_t id) { return m_Proxy->CheckResizeOutputWindow(id); }
|
||||
void SetOutputWindowDimensions(uint64_t id, int32_t w, int32_t h)
|
||||
{
|
||||
m_Proxy->SetOutputWindowDimensions(id, w, h);
|
||||
}
|
||||
void GetOutputWindowDimensions(uint64_t id, int32_t &w, int32_t &h)
|
||||
{
|
||||
m_Proxy->GetOutputWindowDimensions(id, w, h);
|
||||
}
|
||||
void GetOutputWindowData(uint64_t id, bytebuf &retData)
|
||||
{
|
||||
m_Proxy->GetOutputWindowData(id, retData);
|
||||
}
|
||||
void ClearOutputWindowColor(uint64_t id, FloatVector col)
|
||||
{
|
||||
m_Proxy->ClearOutputWindowColor(id, col);
|
||||
|
||||
Reference in New Issue
Block a user