MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / Map

Method Map

Shadows/SampleFramework11/GraphicsTypes.cpp:549–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549void* StagingBuffer::Map(ID3D11DeviceContext* context)
550{
551 D3D11_MAPPED_SUBRESOURCE mapped;
552 DXCall(context->Map(Buffer, 0, D3D11_MAP_READ, 0, &mapped));
553
554 return mapped.pData;
555}
556
557void StagingBuffer::Unmap(ID3D11DeviceContext* context)
558{

Callers 14

ComputeBoundingSpheresFunction · 0.80
ReduceDepthMethod · 0.80
SaveScreenshotMethod · 0.80
PostProcessMethod · 0.80
GetTextureDataFunction · 0.80
DebugPrintMethod · 0.80
ApplyChangesMethod · 0.80
SetPerBatchDataMethod · 0.80
RenderMethod · 0.80
RenderBatchMethod · 0.80
WriteToFileMethod · 0.80
WriteToFileMethod · 0.80

Calls 1

DXCallFunction · 0.85

Tested by

no test coverage detected