Switch from Nz prefix to namespace Nz

What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
This commit is contained in:
Lynix
2015-09-25 19:20:05 +02:00
parent c214251ecf
commit df8da275c4
609 changed files with 68265 additions and 66534 deletions

View File

@@ -12,36 +12,39 @@
#include <Nazara/Graphics/AbstractBackground.hpp>
#include <Nazara/Renderer/UberShader.hpp>
class NzColorBackground;
using NzColorBackgroundConstRef = NzObjectRef<const NzColorBackground>;
using NzColorBackgroundRef = NzObjectRef<NzColorBackground>;
class NAZARA_GRAPHICS_API NzColorBackground : public NzAbstractBackground
namespace Nz
{
public:
NzColorBackground(const NzColor& color = NzColor::Black);
NzColorBackground(const NzColorBackground&) = default;
NzColorBackground(NzColorBackground&&) = delete;
class ColorBackground;
void Draw(const NzAbstractViewer* viewer) const;
using ColorBackgroundConstRef = ObjectRef<const ColorBackground>;
using ColorBackgroundRef = ObjectRef<ColorBackground>;
nzBackgroundType GetBackgroundType() const;
NzColor GetColor() const;
class NAZARA_GRAPHICS_API ColorBackground : public AbstractBackground
{
public:
ColorBackground(const Color& color = Color::Black);
ColorBackground(const ColorBackground&) = default;
ColorBackground(ColorBackground&&) = delete;
void SetColor(const NzColor& color);
void Draw(const AbstractViewer* viewer) const;
NzColorBackground& operator=(NzColorBackground&&) = delete;
BackgroundType GetBackgroundType() const;
Color GetColor() const;
template<typename... Args> static NzColorBackgroundRef New(Args&&... args);
void SetColor(const Color& color);
private:
NzColor m_color;
NzUberShaderConstRef m_uberShader;
const NzUberShaderInstance* m_uberShaderInstance;
int m_materialDiffuseUniform;
int m_vertexDepthUniform;
};
ColorBackground& operator=(ColorBackground&&) = delete;
template<typename... Args> static ColorBackgroundRef New(Args&&... args);
private:
Color m_color;
UberShaderConstRef m_uberShader;
const UberShaderInstance* m_uberShaderInstance;
int m_materialDiffuseUniform;
int m_vertexDepthUniform;
};
}
#include <Nazara/Graphics/ColorBackground.inl>