|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
A shader's DrawParams layout: lifted members + 16-aligned block size. More...
#include <DrawParams.hpp>
Public Member Functions | |
| bool | empty () const |
| const DrawParamSlot * | find (const std::string &name) const |
Public Attributes | |
| std::vector< DrawParamSlot > | slots |
| u32 | blockSize = 0 |
| 0 ⇒ the shader has no DrawParams block. | |
A shader's DrawParams layout: lifted members + 16-aligned block size.
Definition at line 63 of file DrawParams.hpp.
|
inline |
Definition at line 67 of file DrawParams.hpp.
References blockSize.
Referenced by esengine::resource::ResourceManager::createShader().
| const DrawParamSlot * esengine::DrawParamsLayout::find | ( | const std::string & | name | ) | const |
Definition at line 14 of file DrawParams.cpp.
References slots.
| u32 esengine::DrawParamsLayout::blockSize = 0 |
0 ⇒ the shader has no DrawParams block.
Definition at line 65 of file DrawParams.hpp.
Referenced by empty(), and esengine::rewriteLooseUniforms().
| std::vector<DrawParamSlot> esengine::DrawParamsLayout::slots |
Definition at line 64 of file DrawParams.hpp.
Referenced by find(), and esengine::rewriteLooseUniforms().