XenosRecomp/ShaderRecomp/dxc_compiler.h
2024-10-16 16:40:31 +03:00

11 lines
No EOL
215 B
C++

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