MCPcopy Create free account
hub / github.com/baldurk/renderdoc / ViewTextureAsBuffer

Method ViewTextureAsBuffer

qrenderdoc/Code/CaptureContext.cpp:2665–2673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2663}
2664
2665IBufferViewer *CaptureContext::ViewTextureAsBuffer(ResourceId id, const Subresource &sub,
2666 const rdcstr &format)
2667{
2668 BufferViewer *viewer = new BufferViewer(*this, false, m_MainWindow);
2669
2670 viewer->ViewTexture(id, sub, format);
2671
2672 return viewer;
2673}
2674
2675IBufferViewer *CaptureContext::ViewConstantBuffer(ShaderStage stage, uint32_t slot, uint32_t idx)
2676{

Callers

nothing calls this directly

Calls 1

ViewTextureMethod · 0.45

Tested by

no test coverage detected