|
libosmscout 0.1
|
#include <OpenGLMapData.h>
Public Member Functions | |
| void | AddAttrib (std::string attribName, GLint length, GLuint type, size_t positionOffset) |
| void | AddNewElement (GLuint element) |
| void | AddNewTexture (OpenGLTextureRef texture) |
| void | AddNewVertex (GLfloat vertex) |
| void | AddUniform (const char *uniformName, float value) |
| void | BindBuffers () |
| void | clearData () |
| void | Draw () |
| const glm::mat4 & | GetModel () const |
| int | GetNumOfVertices () |
| const glm::mat4 & | GetProjection () const |
| GLuint | getShaderProgram () |
| GLuint | GetTexture () |
| int | GetTextureHeight () |
| int | GetTextureWidth () |
| int | GetTextureWidth (int index) |
| int | GetTextureWidthSum (int index) |
| GLuint | getVAO () |
| int | GetVerticesNumber () |
| const glm::mat4 & | GetView () const |
| bool | InitContext (const std::string &shaderDir, const std::string &vertexShaderFileName, const std::string &fragmentShaderFileName, GLuint projectionShader) |
| void | LoadTextures () |
| void | LoadVertices () |
| OpenGLMapData ()=default | |
| OpenGLMapData (const OpenGLMapData &)=delete | |
| OpenGLMapData (OpenGLMapData &&)=delete | |
| OpenGLMapData & | operator= (const OpenGLMapData &)=delete |
| OpenGLMapData & | operator= (OpenGLMapData &&)=delete |
| void | SetMapProjection (const OpenGLProjection &mapProjection) |
| void | SetModel () |
| void | SetProjection (float width, float height) |
| void | SetTextureHeight (int textheight) |
| void | SetVerticesSize (int size) |
| void | SetView (float, float) |
| void | SwapData () |
| void | UseProgram () |
| ~OpenGLMapData () | |
| TexturePixelType | GL_RGBA, GL_RED... |
| TexturePixelSize | pixel byte size (4 for GL_RGBA, 1 for GL_RED) |
|
default |
|
inline |
|
delete |
|
delete |
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References osmscout::Log::Error(), osmscout::LoadShader(), osmscout::LoadShaderSource(), and osmscout::log.
Referenced by osmscout::MapPainterOpenGL::MapPainterOpenGL().
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
delete |
|
delete |
|
inline |
References osmscout::OpenGLProjection::SetShaderUniforms().
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
Referenced by osmscout::MapPainterOpenGL::MapPainterOpenGL().
|
inline |
Referenced by osmscout::MapPainterOpenGL::MapPainterOpenGL().
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().
|
inline |
|
inline |
Referenced by osmscout::MapPainterOpenGL::DrawMap().