| 1577 | } |
| 1578 | |
| 1579 | bool 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 | |
| 1590 | bool DX11Engine::Update(std::shared_ptr<TextureSingle> const& texture) |
| 1591 | { |
nothing calls this directly
no test coverage detected