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

Method Update

GTE/Graphics/GL46/GL46Engine.cpp:1040–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1038}
1039
1040bool GL46Engine::Update(std::shared_ptr<Buffer> const& buffer)
1041{
1042 if (!buffer->GetData())
1043 {
1044 buffer->CreateStorage();
1045 }
1046
1047 auto glBuffer = static_cast<GL46Buffer*>(Bind(buffer));
1048 return glBuffer->Update();
1049}
1050
1051bool GL46Engine::Update(std::shared_ptr<TextureSingle> const& texture)
1052{

Callers

nothing calls this directly

Calls 2

CreateStorageMethod · 0.80
GetDataMethod · 0.45

Tested by

no test coverage detected