YourGameLib
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
loading.h File Reference
#include <string>
#include <vector>
#include "yourgame/gl_include.h"
#include "yourgame/gl/geometry.h"
#include "yourgame/gl/shader.h"
#include "yourgame/gl/texture.h"
#include "yourgame/gl/conventions.h"
Include dependency graph for loading.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yourgame::gl::TextureConfig
 

Namespaces

namespace  yourgame
 
namespace  yourgame::gl
 gl classes and functions
 

Functions

Textureyourgame::gl::loadTexture (const std::string &imgFilename, const std::string &atlasFilename, const yourgame::gl::TextureConfig &cfg)
 
Textureyourgame::gl::loadCubemap (const std::vector< std::string > &filenames, const yourgame::gl::TextureConfig &cfg)
 loads images and generates cubemap texture
 
Shaderyourgame::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={})
 
Shaderyourgame::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={})
 
Geometryyourgame::gl::loadGeometry (const std::string &objFilename, const std::string &mtlFilename="")
 
Geometryyourgame::gl::loadGeometryFromStrings (const std::string &objCode, const std::string &mtlCode="")