<commit_before>#pragma once

#include "DirectX.h"
#include "Matrix.h"
#include "ShaderManager.h"
#include "Material.h"

namespace Rendering
{
	class SkyBoxMaterial : public Material
	{
	public:
		SkyBoxMaterial(const std::string& key);

	public:
		void Initialize(Device::DirectX& dx, Manager::ShaderManager& shaderMgr);
		void UpdateConstBuffer(Device::DirectX& dx, const Math::Matrix& transposedWVPMat);
		void UpdateCubeMap(TextureBindIndex bind, const Texture::Texture2D& tex);

		GET_CONST_ACCESSOR(Shaders, const Shader::ShaderGroup&, _shader);
		GET_CONST_ACCESSOR(ConstBuffer, const Buffer::ExplicitConstBuffer<Math::Matrix>&, _wvpCB);

	protected:
		SET_ACCESSOR(Shaders, const Shader::ShaderGroup&, _shader);
		SET_ACCESSOR(ConstBuffer, const Buffer::ExplicitConstBuffer<Math::Matrix>&, _wvpCB);

	private:
		Shader::ShaderGroup							_shader;
		Buffer::ExplicitConstBuffer<Math::Matrix>	_wvpCB;
	};
}<commit_msg>Update SkyBoxMaterial.h<commit_after>#pragma once

#include "DirectX.h"
#include "Matrix.h"
#include "ShaderManager.h"
#include "Material.h"

namespace Rendering
{
	class SkyBoxMaterial : public Material
	{
	public:
		using Material::Material;

		void Initialize(Device::DirectX& dx, Manager::ShaderManager& shaderMgr);
		void UpdateConstBuffer(Device::DirectX& dx, const Math::Matrix& transposedWVPMat);
		void UpdateCubeMap(TextureBindIndex bind, const Texture::Texture2D& tex);

		GET_CONST_ACCESSOR(ConstBuffer, const Buffer::ExplicitConstBuffer<Math::Matrix>&, _wvpCB);
		GET_CONST_ACCESSOR(VertexShader, const Shader::VertexShader&, _vs);
		GET_CONST_ACCESSOR(PixelShader, const Shader::PixelShader&, _ps);

	private:
		Shader::VertexShader				_vs;
		Shader::PixelShader				_ps;
		Buffer::ExplicitConstBuffer<Math::Matrix>	_wvpCB;
	};
}

{'fraction_non_alphanumeric': 0.12061155152887883, 'fraction_numerical': 0.0011325028312570782, 'mean_word_length': 7.414285714285715, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6498', 'n_tokens_mistral': 617, 'n_tokens_neox': 579, 'n_words': 116}