| 26 | } |
| 27 | |
| 28 | inline void SetComputeShader(std::shared_ptr<Shader> const& shader) |
| 29 | { |
| 30 | if (shader) |
| 31 | { |
| 32 | LogAssert(shader->GetType() == GT_COMPUTE_SHADER, "The input must be a compute shader."); |
| 33 | } |
| 34 | mCShader = shader; |
| 35 | } |
| 36 | |
| 37 | private: |
| 38 | std::shared_ptr<Shader> mCShader; |
no test coverage detected