|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <GfxResourceRegistry.hpp>
Public Attributes | |
| GfxShaderLanguage | language = GfxShaderLanguage::GLSL_ES300 |
| std::string | vertex |
| std::string | fragment |
| std::vector< std::pair< u32, std::string > > | attribBindings |
| std::vector< std::string > | uniformNames |
| A location handed out is an index here; the backend's own is resolved per generation. | |
| std::vector< GfxUniformValue > | uniformValues |
| std::vector< std::string > | blockNames |
| std::vector< u32 > | blockBindings |
| Binding point per block name, or GFX_UNBOUND_BLOCK. | |
| bool | realized = false |
| std::function< void()> | onLinked |
| What the owner of a program created with GfxShaderSource::deferLink does once it has linked (the block bindings, the pinned samplers). Run once. | |
Definition at line 70 of file GfxResourceRegistry.hpp.
| std::vector<std::pair<u32, std::string> > esengine::GfxProgramRecord::attribBindings |
Definition at line 74 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::createProgram().
| std::vector<u32> esengine::GfxProgramRecord::blockBindings |
Binding point per block name, or GFX_UNBOUND_BLOCK.
Definition at line 80 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::getUniformBlockIndex(), and esengine::GfxDevice::uniformBlockBinding().
| std::vector<std::string> esengine::GfxProgramRecord::blockNames |
Definition at line 78 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::getUniformBlockIndex(), and esengine::GfxDevice::uniformBlockBinding().
| std::string esengine::GfxProgramRecord::fragment |
Definition at line 73 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::createProgram().
| GfxShaderLanguage esengine::GfxProgramRecord::language = GfxShaderLanguage::GLSL_ES300 |
Definition at line 71 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::createProgram().
| std::function<void()> esengine::GfxProgramRecord::onLinked |
What the owner of a program created with GfxShaderSource::deferLink does once it has linked (the block bindings, the pinned samplers). Run once.
Definition at line 83 of file GfxResourceRegistry.hpp.
| bool esengine::GfxProgramRecord::realized = false |
Definition at line 81 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::deleteFramebuffer(), esengine::GfxDevice::getActiveUniforms(), esengine::GfxDevice::getAttribLocation(), esengine::GfxDevice::getUniformBlockIndex(), esengine::GfxDevice::getUniformLocation(), and esengine::GfxDevice::uniformBlockBinding().
| std::vector<std::string> esengine::GfxProgramRecord::uniformNames |
A location handed out is an index here; the backend's own is resolved per generation.
Definition at line 76 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::getActiveUniforms(), and esengine::GfxDevice::getUniformLocation().
| std::vector<GfxUniformValue> esengine::GfxProgramRecord::uniformValues |
Definition at line 77 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::getUniformLocation().
| std::string esengine::GfxProgramRecord::vertex |
Definition at line 72 of file GfxResourceRegistry.hpp.
Referenced by esengine::GfxDevice::createProgram().