| 751 | } |
| 752 | |
| 753 | void MaterialSystem::bindShaderData(const ShaderVar& var) const |
| 754 | { |
| 755 | FALCOR_CHECK(mpMaterialsBlock != nullptr && !mMaterialsChanged, "Parameter block is not ready. Call update() first."); |
| 756 | var = mpMaterialsBlock; |
| 757 | } |
| 758 | |
| 759 | void MaterialSystem::createParameterBlock() |
| 760 | { |
no outgoing calls
no test coverage detected