Pictel 2d 0.1
Game Engine Documentation
Public Member Functions | List of all members
engine::DrawableTargetI Class Reference
Inheritance diagram for engine::DrawableTargetI:
engine::DrawableI

Public Member Functions

 DrawableTargetI (float width, float height)
 
void SetTexture (TextureTargetI *texture)
 
TextureTargetIGetTexture ()
 
- Public Member Functions inherited from engine::DrawableI
 DrawableI (float width, float height)
 
virtual bool CanDraw ()
 
virtual void SetScale (float val)
 
virtual float * GetScale ()
 
virtual void SetZPosition (float value)
 
virtual void SetAlpha (float val)
 
virtual float * GetAlpha ()
 
virtual void SetColorMod (Color4 mod)
 
virtual Color4GetColorMod ()
 
virtual void SetRotation (float, float, float)=0
 
virtual void GetRotation (float *, float *, float *)=0
 
virtual void SetRotateable (bool)=0
 
virtual void SetTexture (TextureI *texture)
 
virtual bool IsFlippedHorizontally ()
 
virtual void SetFlippedHorizontally (bool value)
 
virtual RectGetTextureRect ()
 
virtual bool & GetAcceptsLight ()
 

Additional Inherited Members

- Protected Attributes inherited from engine::DrawableI
TextureIm_texture
 
Rect m_textureRect
 
Color4 m_colorMod
 
float m_flipHorizontal
 
float m_scale
 
float m_alpha
 
float m_zPos
 
bool m_flippedHorizontally
 
bool m_acceptsLight
 
bool m_rotatable
 

Detailed Description

Declares an abstrzct interface for the target drawable that is capable of accepting the current render pass and store it in its texture.

Member Function Documentation

◆ GetTexture()

TextureTargetI * engine::DrawableTargetI::GetTexture ( )
inlinevirtual

Get the drawable texture

Reimplemented from engine::DrawableI.