MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / GetFramebuffer

Method GetFramebuffer

src/app/DeviceManager.cpp:1069–1083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1067}
1068
1069nvrhi::IFramebuffer* donut::app::DeviceManager::GetFramebuffer(uint32_t index, bool withDepth)
1070{
1071 if (withDepth)
1072 {
1073 if (index < m_SwapChainWithDepthFramebuffers.size())
1074 return m_SwapChainWithDepthFramebuffers[index];
1075 }
1076 else
1077 {
1078 if (index < m_SwapChainFramebuffers.size())
1079 return m_SwapChainFramebuffers[index];
1080 }
1081
1082 return nullptr;
1083}
1084
1085void DeviceManager::SetWindowTitle(const char* title)
1086{

Callers 7

RenderMethod · 0.45
RenderCompositeViewMethod · 0.45
BloomPassMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMotionVectorsMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected