7 #ifndef NAZARA_COLORBACKGROUND_HPP 8 #define NAZARA_COLORBACKGROUND_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Core/Color.hpp> 12 #include <Nazara/Graphics/AbstractBackground.hpp> 13 #include <Nazara/Renderer/UberShader.hpp> 17 class ColorBackground;
19 using ColorBackgroundConstRef = ObjectRef<const ColorBackground>;
20 using ColorBackgroundRef = ObjectRef<ColorBackground>;
31 BackgroundType GetBackgroundType()
const override;
32 Color GetColor()
const;
34 void SetColor(
const Color& color);
43 const UberShaderInstance* m_uberShaderInstance;
44 int m_materialDiffuseUniform;
45 int m_vertexDepthUniform;
49 #include <Nazara/Graphics/ColorBackground.inl> 51 #endif // NAZARA_COLORBACKGROUND_HPP Core class that represents a color.
Definition: Color.hpp:18
TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Graphics class that represents the viewer for our scene.
Definition: AbstractViewer.hpp:21
Graphics class that represents a background with uniform color.
Definition: ColorBackground.hpp:22
Core class that represents a reference to an object.
Definition: ObjectRef.hpp:18
Graphics class that represents the background for our scene.
Definition: AbstractBackground.hpp:25