Commit WIP about RenderSurface
This commit is contained in:
30
include/Nazara/Renderer/RenderSurface.hpp
Normal file
30
include/Nazara/Renderer/RenderSurface.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
// Copyright (C) 2016 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Renderer module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_RENDERSURFACE_HPP
|
||||
#define NAZARA_RENDERSURFACE_HPP
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Utility/WindowHandle.hpp>
|
||||
#include <Nazara/Renderer/Config.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
///TODO: Rename
|
||||
class NAZARA_RENDERER_API RenderSurface
|
||||
{
|
||||
public:
|
||||
RenderSurface() = default;
|
||||
virtual ~RenderSurface();
|
||||
|
||||
virtual bool Create(WindowHandle handle) = 0;
|
||||
virtual void Destroy() = 0;
|
||||
};
|
||||
}
|
||||
|
||||
#include <Nazara/Renderer/RenderSurface.inl>
|
||||
|
||||
#endif // NAZARA_RENDERSURFACE_HPP
|
||||
Reference in New Issue
Block a user