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

Method cacheResources

qrenderdoc/Windows/ShaderViewer.cpp:543–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543void ShaderViewer::cacheResources()
544{
545 m_ReadOnlyResources = m_Ctx.CurPipelineState().GetReadOnlyResources(m_Stage, false);
546 m_ReadWriteResources = m_Ctx.CurPipelineState().GetReadWriteResources(m_Stage, false);
547}
548
549void ShaderViewer::debugShader(const ShaderReflection *shader, ResourceId pipeline,
550 ShaderDebugTrace *trace, const QString &debugContext)

Callers

nothing calls this directly

Calls 2

GetReadOnlyResourcesMethod · 0.80
GetReadWriteResourcesMethod · 0.80

Tested by

no test coverage detected