Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Nz::AbstractBackground Class Referenceabstract

Graphics class that represents the background for our scene. More...

Inheritance diagram for Nz::AbstractBackground:
Nz::RefCounted Nz::ColorBackground Nz::SkyboxBackground Nz::TextureBackground

Public Member Functions

 AbstractBackground (const AbstractBackground &)=default
 
 AbstractBackground (AbstractBackground &&)=delete
 
virtual void Draw (const AbstractViewer *viewer) const =0
 
virtual BackgroundType GetBackgroundType () const =0
 
AbstractBackgroundoperator= (const AbstractBackground &)=default
 
AbstractBackgroundoperator= (AbstractBackground &&)=delete
 
- Public Member Functions inherited from Nz::RefCounted
 RefCounted (bool persistent=true)
 Constructs a RefCounted object with a persistance aspect. More...
 
 RefCounted (const RefCounted &)=delete
 
 RefCounted (RefCounted &&)=default
 
virtual ~RefCounted ()
 Destructs the object. More...
 
void AddReference () const
 Adds a reference to the object.
 
unsigned int GetReferenceCount () const
 Gets the number of references to the object. More...
 
bool IsPersistent () const
 Checks whether the object is persistent. More...
 
bool RemoveReference () const
 Removes a reference to the object. More...
 
bool SetPersistent (bool persistent=true, bool checkReferenceCount=false)
 Sets the persistence of the object. More...
 
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedoperator= (RefCounted &&)=default
 

Detailed Description

Graphics class that represents the background for our scene.

Remarks
This class is abstract

The documentation for this class was generated from the following files: