Vis 2
Kinetic Visualization for 3D shape and structure
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Pages
MeshRenderer.h
1
#pragma once
2
#include "IRenderer.h"
3
4
struct
MeshRendererUniformLocations
{
5
GLint texture0;
6
GLint modelViewProjectionMatrix;
7
GLint modelMatrix;
8
GLint lighting;
9
};
10
14
class
MeshRenderer
:
public
IRenderer
15
{
16
public
:
17
MeshRenderer
(std::string);
18
~
MeshRenderer
();
19
20
void
initialize();
21
void
bindResources();
22
void
render();
23
void
unbindResources();
24
25
MeshRendererUniformLocations
_meshRendererUniformLocations;
26
private
:
27
Shader
* _meshShader;
28
};
29
MeshRenderer
Definition:
MeshRenderer.h:14
IRenderer
Definition:
IRenderer.h:10
MeshRendererUniformLocations
Definition:
MeshRenderer.h:4
Shader
Definition:
Shader.h:24
Generated on Wed Jun 11 2014 04:58:03 for Vis 2 by
1.8.6