FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::LightRendererElementInfo Class Referenceabstract

#include <lightrenderer.h>

+ Inheritance diagram for FIFE::LightRendererElementInfo:
+ Collaboration diagram for FIFE::LightRendererElementInfo:

Public Member Functions

 LightRendererElementInfo (RendererNode n, int32_t src, int32_t dst)
 
virtual ~LightRendererElementInfo ()
 
virtual void render (Camera *cam, Layer *layer, RenderList &instances, RenderBackend *renderbackend)=0
 
virtual std::string getName ()=0
 
RendererNodegetNode ()
 
int32_t getSrcBlend ()
 
int32_t getDstBlend ()
 
void setStencil (uint8_t stencil_ref)
 
int32_t getStencil ()
 
void removeStencil ()
 
virtual std::vector< uint8_t > getColor ()
 
virtual float getRadius ()
 
virtual int32_t getSubdivisions ()
 
virtual float getXStretch ()
 
virtual float getYStretch ()
 

Protected Attributes

RendererNode m_anchor
 
int32_t m_src
 
int32_t m_dst
 
bool m_stencil
 
uint8_t m_stencil_ref
 

Detailed Description

Definition at line 42 of file lightrenderer.h.

Constructor & Destructor Documentation

FIFE::LightRendererElementInfo::LightRendererElementInfo ( RendererNode  n,
int32_t  src,
int32_t  dst 
)

Definition at line 57 of file lightrenderer.cpp.

virtual FIFE::LightRendererElementInfo::~LightRendererElementInfo ( )
inlinevirtual

Definition at line 45 of file lightrenderer.h.

References getName(), and render().

Member Function Documentation

virtual std::vector<uint8_t> FIFE::LightRendererElementInfo::getColor ( )
inlinevirtual

Reimplemented in FIFE::LightRendererSimpleLightInfo.

Definition at line 58 of file lightrenderer.h.

Referenced by FIFE::LightRendererSimpleLightInfo::getName().

+ Here is the caller graph for this function:

int32_t FIFE::LightRendererElementInfo::getDstBlend ( )
inline

Definition at line 52 of file lightrenderer.h.

References getStencil(), m_dst, removeStencil(), and setStencil().

virtual std::string FIFE::LightRendererElementInfo::getName ( )
pure virtual
RendererNode* FIFE::LightRendererElementInfo::getNode ( )
inline

Definition at line 50 of file lightrenderer.h.

References m_anchor.

virtual float FIFE::LightRendererElementInfo::getRadius ( )
inlinevirtual

Reimplemented in FIFE::LightRendererSimpleLightInfo.

Definition at line 59 of file lightrenderer.h.

int32_t FIFE::LightRendererElementInfo::getSrcBlend ( )
inline

Definition at line 51 of file lightrenderer.h.

References m_src.

int32_t FIFE::LightRendererElementInfo::getStencil ( )

Definition at line 68 of file lightrenderer.cpp.

References m_stencil, and m_stencil_ref.

Referenced by getDstBlend().

+ Here is the caller graph for this function:

virtual int32_t FIFE::LightRendererElementInfo::getSubdivisions ( )
inlinevirtual

Reimplemented in FIFE::LightRendererSimpleLightInfo.

Definition at line 60 of file lightrenderer.h.

virtual float FIFE::LightRendererElementInfo::getXStretch ( )
inlinevirtual

Reimplemented in FIFE::LightRendererSimpleLightInfo.

Definition at line 61 of file lightrenderer.h.

virtual float FIFE::LightRendererElementInfo::getYStretch ( )
inlinevirtual

Reimplemented in FIFE::LightRendererSimpleLightInfo.

Definition at line 62 of file lightrenderer.h.

void FIFE::LightRendererElementInfo::removeStencil ( )

Definition at line 74 of file lightrenderer.cpp.

References m_stencil, and m_stencil_ref.

Referenced by getDstBlend().

+ Here is the caller graph for this function:

void FIFE::LightRendererElementInfo::setStencil ( uint8_t  stencil_ref)

Definition at line 64 of file lightrenderer.cpp.

References m_stencil, and m_stencil_ref.

Referenced by getDstBlend().

+ Here is the caller graph for this function:

Member Data Documentation


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