Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
Gamp GL Shader Support

OpenGL Shading Language types and functionality. More...

Classes

class  gamp::render::gl::glsl::GLSLTextureRaster
 
class  gamp::render::gl::glsl::ShaderCode
 Convenient shader code class to use and instantiate vertex or fragment programs. More...
 
class  gamp::render::gl::glsl::ShaderProgram
 
class  gamp::render::gl::glsl::ShaderState
 ShaderState allows to sharing data between shader programs, while updating the attribute and uniform locations when switching. More...
 
class  gamp::render::gl::glsl::ShaderUtil
 

Typedefs

typedef std::vector< uint8_t > gamp::render::gl::glsl::bytes_t
 
typedef std::vector< GLfloat > gamp::render::gl::glsl::float_list_t
 
typedef std::vector< GLint > gamp::render::gl::glsl::int_list_t
 
typedef std::vector< GLenum > gamp::render::gl::glsl::name_list_t
 
typedef std::vector< GLuint > gamp::render::gl::glsl::shader_list_t
 
typedef std::shared_ptr< ShaderCodegamp::render::gl::glsl::ShaderCodeRef
 
typedef std::shared_ptr< ShaderProgramgamp::render::gl::glsl::ShaderProgramRef
 
typedef std::vector< string_list_tgamp::render::gl::glsl::source_list_t
 
typedef std::vector< string_tgamp::render::gl::glsl::string_list_t
 
typedef std::string gamp::render::gl::glsl::string_t
 
typedef std::vector< stringview_tgamp::render::gl::glsl::stringview_list_t
 
typedef std::string_view gamp::render::gl::glsl::stringview_t
 

Functions

std::ostream & gamp::render::gl::glsl::operator<< (std::ostream &out, const ShaderCode &v)
 
std::ostream & gamp::render::gl::glsl::operator<< (std::ostream &out, const ShaderProgram &v)
 
std::ostream & gamp::render::gl::glsl::operator<< (std::ostream &out, const ShaderState &v)
 
template<typename T>
const jau::type_infogamp::render::gl::glsl::vectorSignature () noexcept
 Returns type signature of std::vector<T>.
 

Detailed Description

OpenGL Shading Language types and functionality.

Typedef Documentation

◆ ShaderCodeRef

◆ ShaderProgramRef

◆ shader_list_t

typedef std::vector<GLuint> gamp::render::gl::glsl::shader_list_t

Definition at line 26 of file ShaderUtil.hpp.

◆ name_list_t

typedef std::vector<GLenum> gamp::render::gl::glsl::name_list_t

Definition at line 27 of file ShaderUtil.hpp.

◆ int_list_t

typedef std::vector<GLint> gamp::render::gl::glsl::int_list_t

Definition at line 28 of file ShaderUtil.hpp.

◆ float_list_t

typedef std::vector<GLfloat> gamp::render::gl::glsl::float_list_t

Definition at line 29 of file ShaderUtil.hpp.

◆ string_t

typedef std::string gamp::render::gl::glsl::string_t
Examples
GraphShapes01.cpp.

Definition at line 30 of file ShaderUtil.hpp.

◆ stringview_t

typedef std::string_view gamp::render::gl::glsl::stringview_t

Definition at line 31 of file ShaderUtil.hpp.

◆ stringview_list_t

Definition at line 32 of file ShaderUtil.hpp.

◆ string_list_t

Definition at line 33 of file ShaderUtil.hpp.

◆ source_list_t

Definition at line 34 of file ShaderUtil.hpp.

◆ bytes_t

typedef std::vector<uint8_t> gamp::render::gl::glsl::bytes_t

Definition at line 35 of file ShaderUtil.hpp.

Function Documentation

◆ operator<<() [1/3]

std::ostream & gamp::render::gl::glsl::operator<< ( std::ostream & out,
const ShaderCode & v )
inline

Definition at line 1281 of file ShaderCode.hpp.

◆ operator<<() [2/3]

std::ostream & gamp::render::gl::glsl::operator<< ( std::ostream & out,
const ShaderProgram & v )
inline

Definition at line 347 of file ShaderProgram.hpp.

◆ operator<<() [3/3]

std::ostream & gamp::render::gl::glsl::operator<< ( std::ostream & out,
const ShaderState & v )
inline

Definition at line 1061 of file ShaderState.hpp.

◆ vectorSignature()

template<typename T>
const jau::type_info & gamp::render::gl::glsl::vectorSignature ( )
noexcept

Returns type signature of std::vector<T>.

Definition at line 39 of file ShaderUtil.hpp.