MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / CompileDSFromFile

Function CompileDSFromFile

Shadows/SampleFramework11/ShaderCompilation.cpp:383–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383DomainShaderPtr CompileDSFromFile(ID3D11Device* device,
384 const wchar* path,
385 const char* functionName,
386 const char* profile,
387 const CompileOptions& compileOptions,
388 bool forceOptimization)
389{
390 CompiledDomainShader* compiledShader = new CompiledDomainShader(path, functionName, profile, compileOptions, forceOptimization);
391 CompileShader<ID3D11DomainShader>(device, compiledShader);
392 CompiledShaders.push_back(compiledShader);
393
394 return compiledShader;
395}
396
397ComputeShaderPtr CompileCSFromFile(ID3D11Device* device,
398 const wchar* path,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected