Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Graphics Namespace Reference

Namespaces

 UI
 

Classes

class  BaseSampler
 
class  BaseTexture
 Class for base texture. More...
 
class  Camera
 Class for camera. More...
 
class  GraphicsSystem
 Class for graphics system. More...
 
class  Light
 Class for light. More...
 
class  Renderable
 Class for renderable. More...
 
class  SetUniformEvent
 Class for set uniform event. More...
 
class  Shader
 Class for shader. More...
 
class  ShaderManager
 Class for shader manager. More...
 
class  TextureManager
 Class for texture manager. More...
 
class  TileAnimator
 Class for tile animator. More...
 
class  Uniform
 Class for shader uniform. More...
 
class  VertexData
 Class for vertex data. More...
 
class  WindowExitFunctor
 

Functions

template<>
void Shader::setUniform< glm::vec2 > (const std::string &name, const glm::vec2 &data)
 
template<>
void Shader::setUniform< glm::vec3 > (const std::string &name, const glm::vec3 &data)
 
template<>
void Shader::setUniform< glm::vec4 > (const std::string &name, const glm::vec4 &data)
 
template<>
void Shader::setUniform< glm::ivec2 > (const std::string &name, const glm::ivec2 &data)
 
template<>
void Shader::setUniform< glm::ivec3 > (const std::string &name, const glm::ivec3 &data)
 
template<>
void Shader::setUniform< glm::ivec4 > (const std::string &name, const glm::ivec4 &data)
 
template<>
void Shader::setUniform< glm::uvec2 > (const std::string &name, const glm::uvec2 &data)
 
template<>
void Shader::setUniform< glm::uvec3 > (const std::string &name, const glm::uvec3 &data)
 
template<>
void Shader::setUniform< glm::uvec4 > (const std::string &name, const glm::uvec4 &data)
 
template<>
void Shader::setUniform< glm::bvec2 > (const std::string &name, const glm::bvec2 &data)
 
template<>
void Shader::setUniform< glm::bvec3 > (const std::string &name, const glm::bvec3 &data)
 
template<>
void Shader::setUniform< glm::bvec4 > (const std::string &name, const glm::bvec4 &data)
 
template<>
void Shader::setUniform< glm::mat2 > (const std::string &name, const glm::mat2 &data)
 
template<>
void Shader::setUniform< glm::mat3 > (const std::string &name, const glm::mat3 &data)
 
template<>
void Shader::setUniform< glm::mat4 > (const std::string &name, const glm::mat4 &data)
 
template<>
void Shader::setUniform< glm::mat2x3 > (const std::string &name, const glm::mat2x3 &data)
 
template<>
void Shader::setUniform< glm::mat3x2 > (const std::string &name, const glm::mat3x2 &data)
 
template<>
void Shader::setUniform< glm::mat2x4 > (const std::string &name, const glm::mat2x4 &data)
 
template<>
void Shader::setUniform< glm::mat4x2 > (const std::string &name, const glm::mat4x2 &data)
 
template<>
void Shader::setUniform< glm::mat3x4 > (const std::string &name, const glm::mat3x4 &data)
 
template<>
void Shader::setUniform< glm::mat4x3 > (const std::string &name, const glm::mat4x3 &data)
 
template<>
void Uniform::setData< glm::vec2 > (const std::string &name, const glm::vec2 &data)
 
template<>
void Uniform::setData< glm::vec3 > (const std::string &name, const glm::vec3 &data)
 
template<>
void Uniform::setData< glm::vec4 > (const std::string &name, const glm::vec4 &data)
 
template<>
void Uniform::setData< glm::ivec2 > (const std::string &name, const glm::ivec2 &data)
 
template<>
void Uniform::setData< glm::ivec3 > (const std::string &name, const glm::ivec3 &data)
 
template<>
void Uniform::setData< glm::ivec4 > (const std::string &name, const glm::ivec4 &data)
 
template<>
void Uniform::setData< glm::uvec2 > (const std::string &name, const glm::uvec2 &data)
 
template<>
void Uniform::setData< glm::uvec3 > (const std::string &name, const glm::uvec3 &data)
 
template<>
void Uniform::setData< glm::uvec4 > (const std::string &name, const glm::uvec4 &data)
 
template<>
void Uniform::setData< glm::bvec2 > (const std::string &name, const glm::bvec2 &data)
 
template<>
void Uniform::setData< glm::bvec3 > (const std::string &name, const glm::bvec3 &data)
 
template<>
void Uniform::setData< glm::bvec4 > (const std::string &name, const glm::bvec4 &data)
 
template<>
void Uniform::setData< glm::mat2 > (const std::string &name, const glm::mat2 &data)
 
template<>
void Uniform::setData< glm::mat3 > (const std::string &name, const glm::mat3 &data)
 
template<>
void Uniform::setData< glm::mat4 > (const std::string &name, const glm::mat4 &data)
 
template<>
void Uniform::setData< glm::mat2x3 > (const std::string &name, const glm::mat2x3 &data)
 
template<>
void Uniform::setData< glm::mat3x2 > (const std::string &name, const glm::mat3x2 &data)
 
template<>
void Uniform::setData< glm::mat2x4 > (const std::string &name, const glm::mat2x4 &data)
 
template<>
void Uniform::setData< glm::mat4x2 > (const std::string &name, const glm::mat4x2 &data)
 
template<>
void Uniform::setData< glm::mat3x4 > (const std::string &name, const glm::mat3x4 &data)
 
template<>
void Uniform::setData< glm::mat4x3 > (const std::string &name, const glm::mat4x3 &data)
 
template<>
glm::vec2 Uniform::getData< glm::vec2 > () const noexcept
 
template<>
glm::vec3 Uniform::getData< glm::vec3 > () const noexcept
 
template<>
glm::vec4 Uniform::getData< glm::vec4 > () const noexcept
 
template<>
glm::ivec2 Uniform::getData< glm::ivec2 > () const noexcept
 
template<>
glm::ivec3 Uniform::getData< glm::ivec3 > () const noexcept
 
template<>
glm::ivec4 Uniform::getData< glm::ivec4 > () const noexcept
 
template<>
glm::uvec2 Uniform::getData< glm::uvec2 > () const noexcept
 
template<>
glm::uvec3 Uniform::getData< glm::uvec3 > () const noexcept
 
template<>
glm::uvec4 Uniform::getData< glm::uvec4 > () const noexcept
 
template<>
glm::bvec2 Uniform::getData< glm::bvec2 > () const noexcept
 
template<>
glm::bvec3 Uniform::getData< glm::bvec3 > () const noexcept
 
template<>
glm::bvec4 Uniform::getData< glm::bvec4 > () const noexcept
 
template<>
glm::mat2 Uniform::getData< glm::mat2 > () const noexcept
 
template<>
glm::mat3 Uniform::getData< glm::mat3 > () const noexcept
 
template<>
glm::mat4 Uniform::getData< glm::mat4 > () const noexcept
 
template<>
glm::mat2x3 Uniform::getData< glm::mat2x3 > () const noexcept
 
template<>
glm::mat3x2 Uniform::getData< glm::mat3x2 > () const noexcept
 
template<>
glm::mat2x4 Uniform::getData< glm::mat2x4 > () const noexcept
 
template<>
glm::mat4x2 Uniform::getData< glm::mat4x2 > () const noexcept
 
template<>
glm::mat3x4 Uniform::getData< glm::mat3x4 > () const noexcept
 
template<>
glm::mat4x3 Uniform::getData< glm::mat4x3 > () const noexcept
 
template<>
void VertexData::addVec< glm::vec2 > (VertexData::DATA_TYPE data_type, const std::vector< glm::vec2 > &vec)
 
template<>
void VertexData::addVec< glm::vec3 > (VertexData::DATA_TYPE data_type, const std::vector< glm::vec3 > &vec)
 
template<>
void VertexData::addVec< glm::vec4 > (VertexData::DATA_TYPE data_type, const std::vector< glm::vec4 > &vec)
 
template<>
void VertexData::addVec< glm::dvec2 > (VertexData::DATA_TYPE data_type, const std::vector< glm::dvec2 > &vec)
 
template<>
void VertexData::addVec< glm::dvec3 > (VertexData::DATA_TYPE data_type, const std::vector< glm::dvec3 > &vec)
 
template<>
void VertexData::addVec< glm::dvec4 > (VertexData::DATA_TYPE data_type, const std::vector< glm::dvec4 > &vec)
 
template<>
void VertexData::addVec< glm::ivec2 > (VertexData::DATA_TYPE data_type, const std::vector< glm::ivec2 > &vec)
 
template<>
void VertexData::addVec< glm::ivec3 > (VertexData::DATA_TYPE data_type, const std::vector< glm::ivec3 > &vec)
 
template<>
void VertexData::addVec< glm::ivec4 > (VertexData::DATA_TYPE data_type, const std::vector< glm::ivec4 > &vec)
 
template<>
void VertexData::addVec< glm::uvec2 > (VertexData::DATA_TYPE data_type, const std::vector< glm::uvec2 > &vec)
 
template<>
void VertexData::addVec< glm::uvec3 > (VertexData::DATA_TYPE data_type, const std::vector< glm::uvec3 > &vec)
 
template<>
void VertexData::addVec< glm::uvec4 > (VertexData::DATA_TYPE data_type, const std::vector< glm::uvec4 > &vec)
 

Function Documentation

template<>
void Graphics::Shader::setUniform< glm::bvec2 > ( const std::string &  name,
const glm::bvec2 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::bvec3 > ( const std::string &  name,
const glm::bvec3 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::bvec4 > ( const std::string &  name,
const glm::bvec4 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::ivec2 > ( const std::string &  name,
const glm::ivec2 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::ivec3 > ( const std::string &  name,
const glm::ivec3 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::ivec4 > ( const std::string &  name,
const glm::ivec4 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat2 > ( const std::string &  name,
const glm::mat2 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat2x3 > ( const std::string &  name,
const glm::mat2x3 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat2x4 > ( const std::string &  name,
const glm::mat2x4 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat3 > ( const std::string &  name,
const glm::mat3 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat3x2 > ( const std::string &  name,
const glm::mat3x2 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat3x4 > ( const std::string &  name,
const glm::mat3x4 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat4 > ( const std::string &  name,
const glm::mat4 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat4x2 > ( const std::string &  name,
const glm::mat4x2 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::mat4x3 > ( const std::string &  name,
const glm::mat4x3 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::uvec2 > ( const std::string &  name,
const glm::uvec2 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::uvec3 > ( const std::string &  name,
const glm::uvec3 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::uvec4 > ( const std::string &  name,
const glm::uvec4 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::vec2 > ( const std::string &  name,
const glm::vec2 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::vec3 > ( const std::string &  name,
const glm::vec3 &  data 
)
template<>
void Graphics::Shader::setUniform< glm::vec4 > ( const std::string &  name,
const glm::vec4 &  data 
)
template<>
glm::bvec2 Graphics::Uniform::getData< glm::bvec2 > ( ) const
noexcept
template<>
glm::bvec3 Graphics::Uniform::getData< glm::bvec3 > ( ) const
noexcept
template<>
glm::bvec4 Graphics::Uniform::getData< glm::bvec4 > ( ) const
noexcept
template<>
glm::ivec2 Graphics::Uniform::getData< glm::ivec2 > ( ) const
noexcept
template<>
glm::ivec3 Graphics::Uniform::getData< glm::ivec3 > ( ) const
noexcept
template<>
glm::ivec4 Graphics::Uniform::getData< glm::ivec4 > ( ) const
noexcept
template<>
glm::mat2 Graphics::Uniform::getData< glm::mat2 > ( ) const
noexcept
template<>
glm::mat2x3 Graphics::Uniform::getData< glm::mat2x3 > ( ) const
noexcept
template<>
glm::mat2x4 Graphics::Uniform::getData< glm::mat2x4 > ( ) const
noexcept
template<>
glm::mat3 Graphics::Uniform::getData< glm::mat3 > ( ) const
noexcept
template<>
glm::mat3x2 Graphics::Uniform::getData< glm::mat3x2 > ( ) const
noexcept
template<>
glm::mat3x4 Graphics::Uniform::getData< glm::mat3x4 > ( ) const
noexcept
template<>
glm::mat4 Graphics::Uniform::getData< glm::mat4 > ( ) const
noexcept
template<>
glm::mat4x2 Graphics::Uniform::getData< glm::mat4x2 > ( ) const
noexcept
template<>
glm::mat4x3 Graphics::Uniform::getData< glm::mat4x3 > ( ) const
noexcept
template<>
glm::uvec2 Graphics::Uniform::getData< glm::uvec2 > ( ) const
noexcept
template<>
glm::uvec3 Graphics::Uniform::getData< glm::uvec3 > ( ) const
noexcept
template<>
glm::uvec4 Graphics::Uniform::getData< glm::uvec4 > ( ) const
noexcept
template<>
glm::vec2 Graphics::Uniform::getData< glm::vec2 > ( ) const
noexcept
template<>
glm::vec3 Graphics::Uniform::getData< glm::vec3 > ( ) const
noexcept
template<>
glm::vec4 Graphics::Uniform::getData< glm::vec4 > ( ) const
noexcept
template<>
void Graphics::Uniform::setData< glm::bvec2 > ( const std::string &  name,
const glm::bvec2 &  data 
)
template<>
void Graphics::Uniform::setData< glm::bvec3 > ( const std::string &  name,
const glm::bvec3 &  data 
)
template<>
void Graphics::Uniform::setData< glm::bvec4 > ( const std::string &  name,
const glm::bvec4 &  data 
)
template<>
void Graphics::Uniform::setData< glm::ivec2 > ( const std::string &  name,
const glm::ivec2 &  data 
)
template<>
void Graphics::Uniform::setData< glm::ivec3 > ( const std::string &  name,
const glm::ivec3 &  data 
)
template<>
void Graphics::Uniform::setData< glm::ivec4 > ( const std::string &  name,
const glm::ivec4 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat2 > ( const std::string &  name,
const glm::mat2 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat2x3 > ( const std::string &  name,
const glm::mat2x3 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat2x4 > ( const std::string &  name,
const glm::mat2x4 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat3 > ( const std::string &  name,
const glm::mat3 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat3x2 > ( const std::string &  name,
const glm::mat3x2 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat3x4 > ( const std::string &  name,
const glm::mat3x4 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat4 > ( const std::string &  name,
const glm::mat4 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat4x2 > ( const std::string &  name,
const glm::mat4x2 &  data 
)
template<>
void Graphics::Uniform::setData< glm::mat4x3 > ( const std::string &  name,
const glm::mat4x3 &  data 
)
template<>
void Graphics::Uniform::setData< glm::uvec2 > ( const std::string &  name,
const glm::uvec2 &  data 
)
template<>
void Graphics::Uniform::setData< glm::uvec3 > ( const std::string &  name,
const glm::uvec3 &  data 
)
template<>
void Graphics::Uniform::setData< glm::uvec4 > ( const std::string &  name,
const glm::uvec4 &  data 
)
template<>
void Graphics::Uniform::setData< glm::vec2 > ( const std::string &  name,
const glm::vec2 &  data 
)
template<>
void Graphics::Uniform::setData< glm::vec3 > ( const std::string &  name,
const glm::vec3 &  data 
)
template<>
void Graphics::Uniform::setData< glm::vec4 > ( const std::string &  name,
const glm::vec4 &  data 
)
template<>
void Graphics::VertexData::addVec< glm::dvec2 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::dvec2 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::dvec3 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::dvec3 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::dvec4 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::dvec4 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::ivec2 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::ivec2 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::ivec3 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::ivec3 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::ivec4 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::ivec4 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::uvec2 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::uvec2 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::uvec3 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::uvec3 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::uvec4 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::uvec4 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::vec2 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::vec2 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::vec3 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::vec3 > &  vec 
)
template<>
void Graphics::VertexData::addVec< glm::vec4 > ( VertexData::DATA_TYPE  data_type,
const std::vector< glm::vec4 > &  vec 
)