|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Loose-uniform → std140 DrawParams block rewriter. More...

Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Functions | |
| void | esengine::drawParamSizeAlign (DrawParamType t, u32 &size, u32 &align) |
| std140 size/base-alignment of a supported param type. | |
| DrawParamsRewrite | esengine::rewriteLooseUniforms (const std::string &vertexSrc, const std::string &fragmentSrc) |
| Lifts loose non-sampler uniform declarations out of both stages into one shared std140 DrawParams block. | |
Loose-uniform → std140 DrawParams block rewriter.
Definition in file DrawParams.cpp.