|
| Texture * | yourgame::gl::loadTexture (const std::string &imgFilename, const std::string &atlasFilename, const yourgame::gl::TextureConfig &cfg) |
| |
| Texture * | yourgame::gl::loadCubemap (const std::vector< std::string > &filenames, const yourgame::gl::TextureConfig &cfg) |
| | loads images and generates cubemap texture
|
| |
| Shader * | yourgame::gl::loadShader (const std::vector< std::pair< GLenum, std::string > > &shaderFilenames, const std::vector< std::pair< GLuint, std::string > > &attrLocs={}, const std::vector< std::pair< GLuint, std::string > > &fragDataLocs={}) |
| |
| Shader * | yourgame::gl::loadShaderFromStrings (const std::vector< std::pair< GLenum, std::string > > &shaderCodes, const std::vector< std::pair< GLuint, std::string > > &attrLocs={}, const std::vector< std::pair< GLuint, std::string > > &fragDataLocs={}) |
| |
| Geometry * | yourgame::gl::loadGeometry (const std::string &objFilename, const std::string &mtlFilename="") |
| |
| Geometry * | yourgame::gl::loadGeometryFromStrings (const std::string &objCode, const std::string &mtlCode="") |
| |