XenosRecomp/ShaderRecomp/dxc_compiler.h

11 lines
242 B
C++

#pragma once
struct DxcCompiler
{
IDxcCompiler3* dxcCompiler = nullptr;
DxcCompiler();
~DxcCompiler();
IDxcBlob* compile(const std::string& shaderSource, bool compilePixelShader, bool compileLibrary, bool compileSpirv);
};