Pioneer
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Background::Container Class Reference

#include <Background.h>

Public Types

enum  BackgroundDrawFlags { DRAW_STARS = 1 << 0 , DRAW_MILKY = 1 << 1 , DRAW_SKYBOX = 1 << 2 }
 

Public Member Functions

 Container (Graphics::Renderer *, Random &rand, const Space *space, RefCountedPtr< Galaxy > galaxy, const SystemPath *const systemPath=nullptr)
 
void Draw (const matrix4x4d &transform)
 
void SetIntensity (float intensity)
 
void SetDrawFlags (const Uint32 flags)
 
Uint32 GetDrawFlags () const
 

Member Enumeration Documentation

◆ BackgroundDrawFlags

Enumerator
DRAW_STARS 
DRAW_MILKY 
DRAW_SKYBOX 

Constructor & Destructor Documentation

◆ Container()

Background::Container::Container ( Graphics::Renderer renderer,
Random rand,
const Space space,
RefCountedPtr< Galaxy galaxy,
const SystemPath *const  systemPath = nullptr 
)
Here is the call graph for this function:

Member Function Documentation

◆ Draw()

void Background::Container::Draw ( const matrix4x4d transform)
Here is the call graph for this function:

◆ GetDrawFlags()

Uint32 Background::Container::GetDrawFlags ( ) const
inline

◆ SetDrawFlags()

void Background::Container::SetDrawFlags ( const Uint32  flags)

◆ SetIntensity()

void Background::Container::SetIntensity ( float  intensity)
Here is the call graph for this function:

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