MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / WriteQuery

Method WriteQuery

projects/WinDurango.D3D11X/src/ID3D11DeviceContext.cpp:3661–3665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3659 if (Desc.Usage == D3D11_USAGE_DEFAULT)
3660 {
3661 UpdateSubresource(pBuffer, 0, nullptr, pBaseAddress, 0, 0);
3662 DWORD OldProtect = 0;
3663 BufferWrapper->m_IsDirty = false;
3664 }
3665 else
3666 {
3667 D3D11_MAPPED_SUBRESOURCE mapped{};
3668 if (SUCCEEDED(Map(pBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mapped)))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected