Simple GUI Library
Sgl::Shadow Class Reference
Collaboration diagram for Sgl::Shadow:

Public Member Functions

 Shadow (const ShadowSpecification *specification=nullptr)
 
void update (const Sml::Texture *srcTexture, const Sml::Rectangle< int32_t > &objectRegion)
 
void render (const Sml::Rectangle< int32_t > &object, const Sml::Rectangle< int32_t > &targetRegion)
 
Sml::Texture * getTexture () const
 
const ShadowSpecificationgetSpecification () const
 
void setSpecification (const ShadowSpecification *specification)
 

Detailed Description

Definition at line 39 of file shadow.h.

Constructor & Destructor Documentation

◆ Shadow()

Sgl::Shadow::Shadow ( const ShadowSpecification specification = nullptr)

Definition at line 47 of file shadow.cpp.

◆ ~Shadow()

Sgl::Shadow::~Shadow ( )

Definition at line 34 of file shadow.cpp.

Member Function Documentation

◆ getSpecification()

const ShadowSpecification * Sgl::Shadow::getSpecification ( ) const

Definition at line 44 of file shadow.cpp.

◆ getTexture()

Sml::Texture * Sgl::Shadow::getTexture ( ) const

Definition at line 42 of file shadow.cpp.

◆ render()

void Sgl::Shadow::render ( const Sml::Rectangle< int32_t > &  object,
const Sml::Rectangle< int32_t > &  targetRegion 
)

Definition at line 101 of file shadow.cpp.

◆ setSpecification()

void Sgl::Shadow::setSpecification ( const ShadowSpecification specification)

Definition at line 45 of file shadow.cpp.

◆ update()

void Sgl::Shadow::update ( const Sml::Texture *  srcTexture,
const Sml::Rectangle< int32_t > &  objectRegion 
)

Definition at line 49 of file shadow.cpp.


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