ScummVM API documentation
Alcachofa::IDebugRenderer Class Referenceabstract
Inheritance diagram for Alcachofa::IDebugRenderer:
Alcachofa::IRenderer

Public Member Functions

virtual void debugPolygon (Common::Span< Math::Vector2d > points, Color color=kDebugRed)=0
 
virtual void debugPolyline (Common::Span< Math::Vector2d > points, Color color=kDebugRed)=0
 
virtual void debugShape (const Shape &shape, Color color=kDebugRed)
 
void debugPolyline (Common::Point a, Common::Point b, Color color=kDebugRed)
 
- Public Member Functions inherited from Alcachofa::IRenderer
virtual Common::ScopedPtr< ITexturecreateTexture (int32 w, int32 h, bool withMipmaps=true)=0
 
virtual void begin ()=0
 
virtual void setTexture (ITexture *texture)=0
 
virtual void setBlendMode (BlendMode blendMode)=0
 
virtual void setLodBias (float lodBias)=0
 
virtual void setOutput (Graphics::Surface &surface)=0
 
virtual bool hasOutput () const =0
 
virtual void quad (Math::Vector2d topLeft, Math::Vector2d size, Color color=kWhite, Math::Angle rotation=Math::Angle(), Math::Vector2d texMin=Math::Vector2d(0, 0), Math::Vector2d texMax=Math::Vector2d(1, 1))=0
 
virtual void end ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from Alcachofa::IRenderer
static IRenderercreateOpenGLRenderer (Common::Point resolution)
 
static IRenderercreateOpenGLRendererClassic (Common::Point resolution)
 
static IRenderercreateOpenGLRendererShaders (Common::Point resolution)
 
static IRenderercreateTinyGLRenderer (Common::Point resolution)
 

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