MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / bindShaderData

Method bindShaderData

Source/Falcor/Scene/Material/MaterialSystem.cpp:753–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 2

updateMethod · 0.45
createParameterBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected