Loading...
Searching...
No Matches
score::gfx::ReadbackTarget Struct Reference
Public Attributes | |
| QRhi * | rhi {} |
| QRhi::Implementation | backend {} |
| void * | dst {} |
| std::size_t | bytes {} |
| bool | pendingFinish {} |
| std::size_t | pendingOffset {} |
Member Data Documentation
◆ pendingFinish
| bool score::gfx::ReadbackTarget::pendingFinish {} |
Set by every successful readbackTextureToHost, cleared by finishReadbackToHost — a recorded-but-never-finished readback is a caller bug on GL/D3D11 (stale dst) and is asserted on all backends.
◆ pendingOffset
| std::size_t score::gfx::ReadbackTarget::pendingOffset {} |
dstOffset of the last recorded readback, for the paths whose completion copy happens in finishReadbackToHost (GL non-pinned, D3D11).
The documentation for this struct was generated from the following file:
- RhiTextureReadback.cpp