OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4LandscapeRender Class Referenceabstract

#include <C4LandscapeRender.h>

Inheritance diagram for C4LandscapeRender:
[legend]
Collaboration diagram for C4LandscapeRender:
[legend]

Public Member Functions

 C4LandscapeRender ()=default
 
virtual ~C4LandscapeRender ()=default
 
virtual bool ReInit (int32_t iWidth, int32_t iHeight)=0
 
virtual bool Init (int32_t iWidth, int32_t iHeight, C4TextureMap *pTexs, C4GroupSet *pGraphics)=0
 
virtual void Clear ()=0
 
virtual C4Rect GetAffectedRect (C4Rect Rect)=0
 
virtual void Update (C4Rect Rect, C4Landscape *pSource)=0
 
virtual void Draw (const C4TargetFacet &cgo, const class C4FoWRegion *Light, uint32_t clrMod)=0
 

Protected Attributes

int32_t iWidth {0}
 
int32_t iHeight {0}
 
C4TextureMappTexs {nullptr}
 

Detailed Description

Definition at line 79 of file C4LandscapeRender.h.

Constructor & Destructor Documentation

C4LandscapeRender::C4LandscapeRender ( )
default
virtual C4LandscapeRender::~C4LandscapeRender ( )
virtualdefault

Member Function Documentation

virtual void C4LandscapeRender::Clear ( )
pure virtual

Implemented in C4LandscapeRenderGL.

virtual void C4LandscapeRender::Draw ( const C4TargetFacet cgo,
const class C4FoWRegion Light,
uint32_t  clrMod 
)
pure virtual
virtual C4Rect C4LandscapeRender::GetAffectedRect ( C4Rect  Rect)
pure virtual

Implemented in C4LandscapeRenderGL.

virtual bool C4LandscapeRender::Init ( int32_t  iWidth,
int32_t  iHeight,
C4TextureMap pTexs,
C4GroupSet pGraphics 
)
pure virtual

Implemented in C4LandscapeRenderGL.

virtual bool C4LandscapeRender::ReInit ( int32_t  iWidth,
int32_t  iHeight 
)
pure virtual

Implemented in C4LandscapeRenderGL.

virtual void C4LandscapeRender::Update ( C4Rect  Rect,
C4Landscape pSource 
)
pure virtual

Implemented in C4LandscapeRenderGL.

Member Data Documentation

int32_t C4LandscapeRender::iHeight {0}
protected
int32_t C4LandscapeRender::iWidth {0}
protected
C4TextureMap* C4LandscapeRender::pTexs {nullptr}
protected

Definition at line 87 of file C4LandscapeRender.h.

Referenced by C4LandscapeRenderGL::Init().


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