| 152 | } |
| 153 | |
| 154 | dm::int4 PixelReadbackPass::ReadInts() |
| 155 | { |
| 156 | void* pData = m_Device->mapBuffer(m_ReadbackBuffer, nvrhi::CpuAccessMode::Read); |
| 157 | assert(pData); |
| 158 | |
| 159 | int4 values = *static_cast<int4*>(pData); |
| 160 | |
| 161 | m_Device->unmapBuffer(m_ReadbackBuffer); |
| 162 | return values; |
| 163 | } |
nothing calls this directly
no outgoing calls
no test coverage detected