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

Method GetNumActiveElements

GTE/Graphics/DX11/DX11Engine.cpp:1805–1815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1803}
1804
1805bool DX11Engine::GetNumActiveElements(std::shared_ptr<StructuredBuffer> const& buffer)
1806{
1807 DX11GraphicsObject* dxObject = static_cast<DX11GraphicsObject*>(Get(buffer));
1808 if (dxObject)
1809 {
1810 DX11StructuredBuffer* dxSBuffer =
1811 static_cast<DX11StructuredBuffer*>(dxObject);
1812 return dxSBuffer->GetNumActiveElements(mImmediate);
1813 }
1814 return false;
1815}
1816
1817bool DX11Engine::BindProgram(std::shared_ptr<ComputeProgram> const& program)
1818{

Callers 2

DrawPrimitiveMethod · 0.45
EnableSBuffersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected