ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Myst3::OpenGLRenderer Class Reference

#include <gfx_opengl.h>

Inheritance diagram for Myst3::OpenGLRenderer:
Collaboration diagram for Myst3::OpenGLRenderer:

List of all members.

Public Member Functions

 OpenGLRenderer (OSystem *_system)
virtual ~OpenGLRenderer ()
virtual void init () override
virtual void clear () override
virtual void selectTargetWindow (Window *window, bool is3D, bool scaled) override
 Select the window where to render.
TexturecreateTexture (const Graphics::Surface *surface) override
void freeTexture (Texture *texture) override
virtual void drawRect2D (const Common::Rect &rect, uint32 color) override
virtual void drawTexturedRect2D (const Common::Rect &screenRect, const Common::Rect &textureRect, Texture *texture, float transparency=-1.0, bool additiveBlending=false) override
virtual void drawTexturedRect3D (const Math::Vector3d &topLeft, const Math::Vector3d &bottomLeft, const Math::Vector3d &topRight, const Math::Vector3d &bottomRight, Texture *texture) override
virtual void drawCube (Texture **textures) override
virtual void draw2DText (const Common::String &text, const Common::Point &position) override
virtual Graphics::SurfacegetScreenshot () override

Private Member Functions

void drawFace (uint face, Texture *texture)

Detailed Description

Definition at line 34 of file myst3/gfx_opengl.h.

Constructor & Destructor Documentation

Myst3::OpenGLRenderer::OpenGLRenderer ( OSystem _system  ) 
virtual Myst3::OpenGLRenderer::~OpenGLRenderer (  )  [virtual]

Member Function Documentation

virtual void Myst3::OpenGLRenderer::clear (  )  [override, virtual]

Implements Myst3::Renderer.

Texture* Myst3::OpenGLRenderer::createTexture ( const Graphics::Surface surface  )  [override, virtual]

Implements Myst3::Renderer.

virtual void Myst3::OpenGLRenderer::draw2DText ( const Common::String text,
const Common::Point position 
) [override, virtual]

Implements Myst3::Renderer.

virtual void Myst3::OpenGLRenderer::drawCube ( Texture **  textures  )  [override, virtual]

Implements Myst3::Renderer.

void Myst3::OpenGLRenderer::drawFace ( uint  face,
Texture texture 
) [private]
virtual void Myst3::OpenGLRenderer::drawRect2D ( const Common::Rect rect,
uint32  color 
) [override, virtual]

Implements Myst3::Renderer.

virtual void Myst3::OpenGLRenderer::drawTexturedRect2D ( const Common::Rect screenRect,
const Common::Rect textureRect,
Texture texture,
float  transparency = -1.0,
bool  additiveBlending = false 
) [override, virtual]

Implements Myst3::Renderer.

virtual void Myst3::OpenGLRenderer::drawTexturedRect3D ( const Math::Vector3d topLeft,
const Math::Vector3d bottomLeft,
const Math::Vector3d topRight,
const Math::Vector3d bottomRight,
Texture texture 
) [override, virtual]

Implements Myst3::Renderer.

void Myst3::OpenGLRenderer::freeTexture ( Texture texture  )  [override, virtual]

Implements Myst3::Renderer.

virtual Graphics::Surface* Myst3::OpenGLRenderer::getScreenshot (  )  [override, virtual]

Implements Myst3::Renderer.

virtual void Myst3::OpenGLRenderer::init (  )  [override, virtual]

Implements Myst3::Renderer.

virtual void Myst3::OpenGLRenderer::selectTargetWindow ( Window window,
bool  is3D,
bool  scaled 
) [override, virtual]

Select the window where to render.

This also sets the viewport

Implements Myst3::Renderer.

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

Generated on Sat Mar 23 2019 05:08:33 for ResidualVM by doxygen 1.7.1
curved edge   curved edge