MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / ShareIbo

Method ShareIbo

Sources/nCine/Graphics/Geometry.cpp:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173 void Geometry::ShareIbo(const Geometry* geometry)
174 {
175 if (geometry == nullptr) {
176 sharedIboParams_ = nullptr;
177 } else if (geometry != this) {
178 ibo_.reset(nullptr);
179 sharedIboParams_ = &geometry->iboParams_;
180 }
181 }
182
183 void Geometry::Bind()
184 {

Callers 1

DrawMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected