// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
#pragma once
#if COMPILE_WITH_VK_SHADER_COMPILER
#include "Engine/ShadersCompilation/ShaderCompiler.h"
///
/// Implementation of shaders compiler for Vulkan rendering backend.
///
class ShaderCompilerVulkan : public ShaderCompiler
{
private:
Array _funcNameDefineBuffer;
public:
///
/// Initializes a new instance of the class.
///
/// The profile.
ShaderCompilerVulkan(ShaderProfile profile);
///
/// Finalizes an instance of the class.
///
~ShaderCompilerVulkan();
protected:
// [ShaderCompiler]
bool CompileShader(ShaderFunctionMeta& meta, WritePermutationData customDataWrite = nullptr) override;
bool OnCompileBegin() override;
};
#endif