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

Function CompileGSFromFile

Shadows/SampleFramework11/ShaderCompilation.cpp:355–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355GeometryShaderPtr CompileGSFromFile(ID3D11Device* device,
356 const wchar* path,
357 const char* functionName,
358 const char* profile,
359 const CompileOptions& compileOptions,
360 bool forceOptimization)
361{
362 CompiledGeometryShader* compiledShader = new CompiledGeometryShader(path, functionName, profile, compileOptions, forceOptimization);
363 CompileShader<ID3D11GeometryShader>(device, compiledShader);
364 CompiledShaders.push_back(compiledShader);
365
366 return compiledShader;
367}
368
369HullShaderPtr CompileHSFromFile(ID3D11Device* device,
370 const wchar* path,

Callers 1

InitializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected