Renamed Background to AbstractBackground
Former-commit-id: c99ed2e48c4d82fb1100f412a85468c698142815
This commit is contained in:
@@ -8,13 +8,16 @@
|
||||
#define NAZARA_TEXTUREBACKGROUND_HPP
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Graphics/Background.hpp>
|
||||
#include <Nazara/Graphics/AbstractBackground.hpp>
|
||||
#include <Nazara/Renderer/Shader.hpp>
|
||||
#include <Nazara/Renderer/Texture.hpp>
|
||||
|
||||
class NAZARA_API NzTextureBackground : public NzBackground
|
||||
class NAZARA_API NzTextureBackground : public NzAbstractBackground
|
||||
{
|
||||
public:
|
||||
NzTextureBackground();
|
||||
NzTextureBackground(NzTexture* texture);
|
||||
~NzTextureBackground();
|
||||
|
||||
void Draw(const NzScene* scene) const;
|
||||
|
||||
@@ -24,6 +27,7 @@ class NAZARA_API NzTextureBackground : public NzBackground
|
||||
void SetTexture(NzTexture* texture);
|
||||
|
||||
private:
|
||||
NzShaderRef m_shader;
|
||||
NzTextureRef m_texture;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user