| 1803 | } |
| 1804 | |
| 1805 | bool 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 | |
| 1817 | bool DX11Engine::BindProgram(std::shared_ptr<ComputeProgram> const& program) |
| 1818 | { |
no outgoing calls
no test coverage detected