|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Immediate mode 2D drawing implementation. More...
#include "./ImmediateDraw.hpp"#include "../rhi/GfxDevice.hpp"#include "../frame/RenderContext.hpp"#include "../rhi/Shader.hpp"#include "../rhi/ShaderEmbeds.generated.hpp"#include "./BatchVertex.hpp"#include "../../resource/ShaderParser.hpp"#include "../../resource/ResourceManager.hpp"#include "../../core/Log.hpp"#include <glm/gtc/constants.hpp>#include <glm/gtc/type_ptr.hpp>#include <algorithm>#include <array>#include <cmath>#include <cstring>#include <string>
Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Immediate mode 2D drawing implementation.
Generates BatchVertex geometry into a TransientBufferPool and draws it through a GfxDevice pipeline — the same path RenderFrame uses. Primitives are batched per texture and flushed in submission order.
Definition in file ImmediateDraw.cpp.