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

Method RtProgramVars

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

Source from the content-addressed store, hash-verified

59}
60
61RtProgramVars::RtProgramVars(ref<Device> pDevice, const ref<Program>& pProgram, const ref<RtBindingTable>& pBindingTable)
62 : ProgramVars(pDevice, pProgram->getReflector()), mpShaderTable(pDevice)
63{
64 FALCOR_CHECK(pProgram, "RtProgramVars must have a raytracing program attached to it");
65 FALCOR_CHECK(pBindingTable && pBindingTable->getRayGen().isValid(), "RtProgramVars must have a raygen program attached to it");
66
67 init(pBindingTable);
68}
69
70ref<RtProgramVars> RtProgramVars::create(ref<Device> pDevice, const ref<Program>& pProgram, const ref<RtBindingTable>& pBindingTable)
71{

Callers

nothing calls this directly

Calls 2

initFunction · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected