Renderer: Add pipeline and texture sampler info validation
This commit is contained in:
@@ -32,6 +32,7 @@ namespace Nz
|
||||
std::unique_ptr<GL::Context> CreateContext(const GL::ContextParams& params, WindowHandle handle) const;
|
||||
|
||||
const RenderDeviceInfo& GetDeviceInfo() const override;
|
||||
const RenderDeviceFeatures& GetEnabledFeatures() const override;
|
||||
inline const GL::Context& GetReferenceContext() const;
|
||||
|
||||
std::shared_ptr<AbstractBuffer> InstantiateBuffer(BufferType type) override;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Nz
|
||||
class NAZARA_OPENGLRENDERER_API OpenGLTextureSampler : public TextureSampler
|
||||
{
|
||||
public:
|
||||
OpenGLTextureSampler(OpenGLDevice& device, const TextureSamplerInfo& samplerInfo);
|
||||
OpenGLTextureSampler(OpenGLDevice& device, TextureSamplerInfo samplerInfo);
|
||||
OpenGLTextureSampler(const OpenGLTextureSampler&) = delete;
|
||||
OpenGLTextureSampler(OpenGLTextureSampler&&) = delete;
|
||||
~OpenGLTextureSampler() = default;
|
||||
|
||||
Reference in New Issue
Block a user