<commit_before>#pragma once

#include <Engine/RaEngine.hpp>

#include <Core/Asset/MaterialData.hpp>
#include <Engine/Renderer/Material/Material.hpp>

namespace Ra {
namespace Engine {
// Predeclare the External/Internal material representation converter
class RawShaderMaterialConverter;
} // namespace Engine

namespace Core {
namespace Asset {

/**
 * External shaderMaterial representation
 */
class RA_ENGINE_API RawShaderMaterialData : public MaterialData
{
    /// allow converter to access private members
    friend class Ra::Engine::RawShaderMaterialConverter;

  public:
    /**
     * Construct a shaderMaterialData from shader source and parameter provider
     * @param instanceName The name of the material instance
     * @param shaders The shaders to use for each pipeline stage (only one source per stage is
     * allowed)
     * @param paramProvider The parameter provider for the resulting program
     */
    RawShaderMaterialData(
        const std::string& instanceName,
        const std::vector<std::pair<Ra::Engine::ShaderType, std::string>>& shaders,
        std::shared_ptr<Ra::Engine::ShaderParameterProvider> paramProvider ) :
        MaterialData( instanceName, "Ra::Engine::ShaderMaterialData" ),
        m_shaders {shaders},
        m_paramProvider {std::move( paramProvider )} {}
    RawShaderMaterialData()                               = delete;<commit_msg>Bugfix: unconsistent name between material and converter<commit_after>#pragma once

#include <Engine/RaEngine.hpp>

#include <Core/Asset/MaterialData.hpp>
#include <Engine/Renderer/Material/Material.hpp>

namespace Ra {
namespace Engine {
// Predeclare the External/Internal material representation converter
class RawShaderMaterialConverter;
} // namespace Engine

namespace Core {
namespace Asset {

/**
 * External shaderMaterial representation
 */
class RA_ENGINE_API RawShaderMaterialData : public MaterialData
{
    /// allow converter to access private members
    friend class Ra::Engine::RawShaderMaterialConverter;

  public:
    /**
     * Construct a shaderMaterialData from shader source and parameter provider
     * @param instanceName The name of the material instance
     * @param shaders The shaders to use for each pipeline stage (only one source per stage is
     * allowed)
     * @param paramProvider The parameter provider for the resulting program
     */
    RawShaderMaterialData(
        const std::string& instanceName,
        const std::vector<std::pair<Ra::Engine::ShaderType, std::string>>& shaders,
        std::shared_ptr<Ra::Engine::ShaderParameterProvider> paramProvider ) :
        MaterialData( instanceName, "Ra::Engine::RawShaderMaterialData" ),
        m_shaders {shaders},
        m_paramProvider {std::move( paramProvider )} {}
    RawShaderMaterialData()                               = delete;
{'fraction_non_alphanumeric': 0.08651129943502825, 'fraction_numerical': 0.0, 'mean_word_length': 3.8098471986417657, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4497866', 'n_tokens_mistral': 728, 'n_tokens_neox': 693, 'n_words': 219}