|
Aeon Engine c550894
AeonGames Open Source Game Engine
|
OpenGL shader program pipeline with attribute and uniform reflection. More...
#include <C:/Code/AeonEngine/engine/renderers/opengl/OpenGLPipeline.hpp>

Public Member Functions | |
| OpenGLPipeline (const OpenGLRenderer &aOpenGLRenderer, const Pipeline &aPipeline) | |
| Construct from a renderer and pipeline resource. | |
| OpenGLPipeline (OpenGLPipeline &&aOpenGLPipeline) | |
| Move constructor. | |
| OpenGLPipeline (const OpenGLPipeline &)=delete | |
| OpenGLPipeline & | operator= (const OpenGLPipeline &)=delete |
| OpenGLPipeline & | operator= (OpenGLPipeline &&)=delete |
| GLint | GetProgramId () const |
| Get the linked shader program identifier. | |
| const std::vector< OpenGLVariable > & | GetVertexAttributes () const |
| Get the reflected vertex attribute descriptions. | |
| const OpenGLUniformBlock * | GetUniformBlock (uint32_t name) const |
| Get a uniform block by its name hash, or nullptr if not found. | |
| const GLuint | GetSamplerLocation (uint32_t name_hash) const |
| Get the uniform location of a sampler by its name hash. | |
OpenGL shader program pipeline with attribute and uniform reflection.
Definition at line 29 of file OpenGLPipeline.hpp.
| AeonGames::OpenGLPipeline::OpenGLPipeline | ( | const OpenGLRenderer & | aOpenGLRenderer, |
| const Pipeline & | aPipeline ) |
Construct from a renderer and pipeline resource.
Definition at line 46 of file OpenGLPipeline.cpp.
| AeonGames::OpenGLPipeline::OpenGLPipeline | ( | OpenGLPipeline && | aOpenGLPipeline | ) |
Move constructor.
Definition at line 26 of file OpenGLPipeline.cpp.
| AeonGames::OpenGLPipeline::~OpenGLPipeline | ( | ) |
Definition at line 306 of file OpenGLPipeline.cpp.
| GLint AeonGames::OpenGLPipeline::GetProgramId | ( | ) | const |
Get the linked shader program identifier.
Definition at line 318 of file OpenGLPipeline.cpp.
| const GLuint AeonGames::OpenGLPipeline::GetSamplerLocation | ( | uint32_t | name_hash | ) | const |
Get the uniform location of a sampler by its name hash.
Definition at line 328 of file OpenGLPipeline.cpp.
| const OpenGLUniformBlock * AeonGames::OpenGLPipeline::GetUniformBlock | ( | uint32_t | name | ) | const |
Get a uniform block by its name hash, or nullptr if not found.
Definition at line 342 of file OpenGLPipeline.cpp.
| const std::vector< OpenGLVariable > & AeonGames::OpenGLPipeline::GetVertexAttributes | ( | ) | const |
Get the reflected vertex attribute descriptions.
Definition at line 323 of file OpenGLPipeline.cpp.