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

Method create

Source/Falcor/Core/Program/ProgramVars.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49ref<ProgramVars> ProgramVars::create(ref<Device> pDevice, const ref<const ProgramReflection>& pReflector)
50{
51 FALCOR_CHECK(pReflector, "Can't create a ProgramVars object without a program reflector");
52 return ref<ProgramVars>(new ProgramVars(pDevice, pReflector));
53}
54
55ref<ProgramVars> ProgramVars::create(ref<Device> pDevice, const Program* pProg)
56{

Callers

nothing calls this directly

Calls 1

createFunction · 0.70

Tested by

no test coverage detected