| 47 | } |
| 48 | |
| 49 | ref<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 | |
| 55 | ref<ProgramVars> ProgramVars::create(ref<Device> pDevice, const Program* pProg) |
| 56 | { |