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

Myst3::OpenGLTexture Class Reference

#include <gfx_opengl_texture.h>

Inheritance diagram for Myst3::OpenGLTexture:
Collaboration diagram for Myst3::OpenGLTexture:

List of all members.

Public Member Functions

 OpenGLTexture (const Graphics::Surface *surface)
 OpenGLTexture ()
virtual ~OpenGLTexture ()
void update (const Graphics::Surface *surface) override
void updatePartial (const Graphics::Surface *surface, const Common::Rect &rect) override
void copyFromFramebuffer (const Common::Rect &screen)

Public Attributes

GLuint id
GLuint internalFormat
GLuint sourceFormat
uint32 internalWidth
uint32 internalHeight
bool upsideDown

Private Member Functions

void updateTexture (const Graphics::Surface *surface, const Common::Rect &rect)

Detailed Description

Definition at line 34 of file gfx_opengl_texture.h.


Constructor & Destructor Documentation

Myst3::OpenGLTexture::OpenGLTexture ( const Graphics::Surface surface  ) 
Myst3::OpenGLTexture::OpenGLTexture (  ) 
virtual Myst3::OpenGLTexture::~OpenGLTexture (  )  [virtual]

Member Function Documentation

void Myst3::OpenGLTexture::copyFromFramebuffer ( const Common::Rect screen  ) 
void Myst3::OpenGLTexture::update ( const Graphics::Surface surface  )  [override, virtual]

Implements Myst3::Texture.

void Myst3::OpenGLTexture::updatePartial ( const Graphics::Surface surface,
const Common::Rect rect 
) [override, virtual]

Implements Myst3::Texture.

void Myst3::OpenGLTexture::updateTexture ( const Graphics::Surface surface,
const Common::Rect rect 
) [private]

Member Data Documentation

Definition at line 45 of file gfx_opengl_texture.h.

Definition at line 46 of file gfx_opengl_texture.h.

Definition at line 47 of file gfx_opengl_texture.h.

Definition at line 50 of file gfx_opengl_texture.h.


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


Generated on Sat Nov 16 2019 05:03:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge