mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Return texture ID directly from the image viewer replay driver
* The proxy replay driver might not report an 'internal' ID that doesn't have a true live ID, so instead we take responsibility for reporting it. The proxy will still return its details when prompted.
This commit is contained in:
@@ -135,7 +135,7 @@ public:
|
||||
{
|
||||
return m_Proxy->ApplyCustomShader(shader, m_TextureID, mip, arrayIdx, sampleIdx, typeHint);
|
||||
}
|
||||
vector<ResourceId> GetTextures() { return m_Proxy->GetTextures(); }
|
||||
vector<ResourceId> GetTextures() { return {m_TextureID}; }
|
||||
TextureDescription GetTexture(ResourceId id) { return m_Proxy->GetTexture(m_TextureID); }
|
||||
byte *GetTextureData(ResourceId tex, uint32_t arrayIdx, uint32_t mip,
|
||||
const GetTextureDataParams ¶ms, size_t &dataSize)
|
||||
|
||||
Reference in New Issue
Block a user