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

Wintermute::MeshXOpenGLShader Class Reference

#include <meshx_opengl_shader.h>

Inheritance diagram for Wintermute::MeshXOpenGLShader:
Collaboration diagram for Wintermute::MeshXOpenGLShader:

List of all members.

Public Member Functions

 MeshXOpenGLShader (BaseGame *inGame, OpenGL::Shader *shader)
 ~MeshXOpenGLShader () override
bool loadFromX (const Common::String &filename, XFileLexer &lexer, Common::Array< MaterialReference > &materialReferences) override
bool render (ModelX *model) override
bool update (FrameNode *parentFrame) override

Protected Attributes

GLuint _vertexBuffer
GLuint _indexBuffer
OpenGL::Shader_shader

Detailed Description

Definition at line 37 of file meshx_opengl_shader.h.


Constructor & Destructor Documentation

Wintermute::MeshXOpenGLShader::MeshXOpenGLShader ( BaseGame inGame,
OpenGL::Shader shader 
)

Definition at line 37 of file meshx_opengl_shader.cpp.

Wintermute::MeshXOpenGLShader::~MeshXOpenGLShader (  )  [override]

Definition at line 44 of file meshx_opengl_shader.cpp.


Member Function Documentation

bool Wintermute::MeshXOpenGLShader::loadFromX ( const Common::String filename,
XFileLexer lexer,
Common::Array< MaterialReference > &  materialReferences 
) [override, virtual]

Reimplemented from Wintermute::MeshX.

Definition at line 49 of file meshx_opengl_shader.cpp.

bool Wintermute::MeshXOpenGLShader::render ( ModelX model  )  [override, virtual]

Implements Wintermute::MeshX.

Definition at line 64 of file meshx_opengl_shader.cpp.

bool Wintermute::MeshXOpenGLShader::update ( FrameNode parentFrame  )  [override, virtual]

Reimplemented from Wintermute::MeshX.

Definition at line 106 of file meshx_opengl_shader.cpp.


Member Data Documentation

Definition at line 48 of file meshx_opengl_shader.h.

Definition at line 47 of file meshx_opengl_shader.h.


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


Generated on Sat Sep 26 2020 05:04:13 for ResidualVM by doxygen 1.7.1
curved edge   curved edge