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

Function create

Source/Falcor/Core/Program/Program.h:588–591  ·  view source on GitHub ↗

* Create a new program. * Note that this call merely creates a program object. The actual compilation and link happens at a later time. * @param[in] pDevice GPU device. * @param[in] desc The program description. * @param[in] programDefines Optional list of macro definitions to set into the program. * @return A new object, or an exception is thrown if creation failed.

Source from the content-addressed store, hash-verified

586 * @return A new object, or an exception is thrown if creation failed.
587 */
588 static ref<Program> create(ref<Device> pDevice, ProgramDesc desc, DefineList programDefines = {})
589 {
590 return make_ref<Program>(std::move(pDevice), std::move(desc), std::move(programDefines));
591 }
592
593 /**
594 * Create a new compute program from file.

Callers 15

doSlangReflectionFunction · 0.70
createProgramKernelsMethod · 0.70
reflectResourceTypeFunction · 0.70
reflectStructTypeFunction · 0.70
reflectArrayTypeFunction · 0.70
reflectBasicTypeFunction · 0.70
reflectInterfaceTypeFunction · 0.70
reflectVariableFunction · 0.70
ProgramReflectionMethod · 0.70
createMethod · 0.70
createMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected