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

Method GetNumActiveElements

GTE/Graphics/GL46/GL46Engine.cpp:1255–1264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253}
1254
1255bool GL46Engine::GetNumActiveElements(std::shared_ptr<StructuredBuffer> const& buffer)
1256{
1257 auto gl4Object = Get(buffer);
1258 if (gl4Object)
1259 {
1260 auto gl4SBuffer = static_cast<GL46StructuredBuffer*>(gl4Object);
1261 return gl4SBuffer->GetNumActiveElements();
1262 }
1263 return false;
1264}
1265
1266bool GL46Engine::BindProgram(std::shared_ptr<ComputeProgram> const&)
1267{

Callers 1

DrawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected