Renderer: Rename ShaderStageImpl to ShaderStage
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
class ShaderStageImpl;
|
||||
class ShaderStage;
|
||||
|
||||
struct RenderStates
|
||||
{
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user