Renderer: Rename ShaderStageImpl to ShaderStage

This commit is contained in:
Jérôme Leclercq
2020-10-30 23:06:15 +01:00
parent 0d779077c1
commit 009e5a0466
12 changed files with 22 additions and 22 deletions

View File

@@ -21,7 +21,7 @@
namespace Nz
{
class CommandPool;
class ShaderStageImpl;
class ShaderStage;
class NAZARA_RENDERER_API RenderDevice
{
@@ -33,8 +33,8 @@ namespace Nz
virtual std::shared_ptr<CommandPool> InstantiateCommandPool(QueueType queueType) = 0;
virtual std::shared_ptr<RenderPipeline> InstantiateRenderPipeline(RenderPipelineInfo pipelineInfo) = 0;
virtual std::shared_ptr<RenderPipelineLayout> InstantiateRenderPipelineLayout(RenderPipelineLayoutInfo pipelineLayoutInfo) = 0;
virtual std::shared_ptr<ShaderStageImpl> InstantiateShaderStage(ShaderStageType type, ShaderLanguage lang, const void* source, std::size_t sourceSize) = 0;
std::shared_ptr<ShaderStageImpl> InstantiateShaderStage(ShaderStageType type, ShaderLanguage lang, const std::filesystem::path& sourcePath);
virtual std::shared_ptr<ShaderStage> InstantiateShaderStage(ShaderStageType type, ShaderLanguage lang, const void* source, std::size_t sourceSize) = 0;
std::shared_ptr<ShaderStage> InstantiateShaderStage(ShaderStageType type, ShaderLanguage lang, const std::filesystem::path& sourcePath);
virtual std::shared_ptr<Texture> InstantiateTexture(const TextureInfo& params) = 0;
virtual std::shared_ptr<TextureSampler> InstantiateTextureSampler(const TextureSamplerInfo& params) = 0;
};

View File

@@ -15,7 +15,7 @@
namespace Nz
{
class ShaderStageImpl;
class ShaderStage;
struct RenderStates
{

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_RENDERER_SHADERSTAGEIMPL_HPP
#define NAZARA_RENDERER_SHADERSTAGEIMPL_HPP
#ifndef NAZARA_RENDERER_SHADERSTAGE_HPP
#define NAZARA_RENDERER_SHADERSTAGE_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Renderer/Config.hpp>
@@ -13,12 +13,12 @@
namespace Nz
{
class NAZARA_RENDERER_API ShaderStageImpl
class NAZARA_RENDERER_API ShaderStage
{
public:
ShaderStageImpl() = default;
virtual ~ShaderStageImpl();
ShaderStage() = default;
virtual ~ShaderStage();
};
}
#endif // NAZARA_RENDERER_SHADERSTAGEIMPL_HPP
#endif // NAZARA_RENDERER_SHADERSTAGE_HPP