MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / Update

Method Update

GTE/Graphics/DX11/DX11Engine.cpp:1579–1588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1577}
1578
1579bool DX11Engine::Update(std::shared_ptr<Buffer> const& buffer)
1580{
1581 if (!buffer->GetData())
1582 {
1583 buffer->CreateStorage();
1584 }
1585
1586 DX11Buffer* dxBuffer = static_cast<DX11Buffer*>(Bind(buffer));
1587 return dxBuffer->Update(mImmediate);
1588}
1589
1590bool DX11Engine::Update(std::shared_ptr<TextureSingle> const& texture)
1591{

Callers

nothing calls this directly

Calls 3

CreateStorageMethod · 0.80
GetDataMethod · 0.45
GetIndexMethod · 0.45

Tested by

no test coverage detected