3 #include <Utils\DebugUtils.h> 17 : mTextureLoader(textureLoader)
24 void LoadEnvironment(
const YAML::Node& rootNode) noexcept;
26 ID3D12Resource& GetSkyBoxTexture()
const noexcept
28 BRE_ASSERT(mSkyBoxTexture !=
nullptr);
29 return *mSkyBoxTexture;
32 ID3D12Resource& GetDiffuseIrradianceTexture()
const noexcept
34 BRE_ASSERT(mDiffuseIrradianceTexture !=
nullptr);
35 return *mDiffuseIrradianceTexture;
38 ID3D12Resource& GetSpecularPreConvolvedEnvironmentTexture()
const noexcept
40 BRE_ASSERT(mSpecularPreConvolvedEnvironmentTexture !=
nullptr);
41 return *mSpecularPreConvolvedEnvironmentTexture;
45 void UpdateEnvironmentTexture(
const std::string& environmentName,
46 const std::string& environmentTextureName) noexcept;
50 ID3D12Resource* mSkyBoxTexture{
nullptr };
51 ID3D12Resource* mDiffuseIrradianceTexture{
nullptr };
52 ID3D12Resource* mSpecularPreConvolvedEnvironmentTexture{
nullptr };
Definition: EnvironmentLoader.h:14
Definition: TextureLoader.h:15
Definition: DrawableObjectLoader.h:10