|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include "../core/Types.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Functions | |
| void | esengine::draw_begin (uintptr_t matrixPtr, i32 viewportWidth, i32 viewportHeight) |
| void | esengine::draw_end () |
| void | esengine::draw_deferEnd () |
| void | esengine::draw_line (f32 fromX, f32 fromY, f32 toX, f32 toY, f32 r, f32 g, f32 b, f32 a, f32 thickness) |
| void | esengine::draw_line3D (f32 fromX, f32 fromY, f32 fromZ, f32 toX, f32 toY, f32 toZ, f32 r, f32 g, f32 b, f32 a, f32 thickness) |
| void | esengine::draw_line3DScreen (f32 fromX, f32 fromY, f32 fromZ, f32 toX, f32 toY, f32 toZ, f32 r, f32 g, f32 b, f32 a, f32 thickness) |
| void | esengine::draw_line3DScreenOffset (f32 anchorX, f32 anchorY, f32 anchorZ, f32 fromX, f32 fromY, f32 toX, f32 toY, f32 r, f32 g, f32 b, f32 a, f32 thickness) |
| void | esengine::draw_rect (f32 x, f32 y, f32 width, f32 height, f32 r, f32 g, f32 b, f32 a, bool filled) |
| void | esengine::draw_rectOutline (f32 x, f32 y, f32 width, f32 height, f32 r, f32 g, f32 b, f32 a, f32 thickness) |
| void | esengine::draw_circle (f32 centerX, f32 centerY, f32 radius, f32 r, f32 g, f32 b, f32 a, bool filled, i32 segments) |
| void | esengine::draw_circleOutline (f32 centerX, f32 centerY, f32 radius, f32 r, f32 g, f32 b, f32 a, f32 thickness, i32 segments) |
| void | esengine::draw_texture (f32 x, f32 y, f32 width, f32 height, u32 textureId, f32 r, f32 g, f32 b, f32 a) |
| void | esengine::draw_textureRotated (f32 x, f32 y, f32 width, f32 height, f32 rotation, u32 textureId, f32 r, f32 g, f32 b, f32 a) |
| void | esengine::draw_triangles (uintptr_t positionsPtr, u32 vertexCount, uintptr_t colorsPtr, uintptr_t indicesPtr, u32 indexCount, f32 r, f32 g, f32 b, f32 a, f32 xx, f32 xy, f32 yx, f32 yy, f32 tx, f32 ty) |
| u32 | esengine::draw_createTriangleMesh (uintptr_t positionsPtr, u32 vertexCount, uintptr_t colorsPtr, uintptr_t indicesPtr, u32 indexCount) |
| void | esengine::draw_destroyTriangleMesh (u32 id) |
| void | esengine::draw_triangleMesh (u32 id, f32 r, f32 g, f32 b, f32 a, f32 xx, f32 xy, f32 yx, f32 yy, f32 tx, f32 ty) |
| void | esengine::draw_triangleMeshMany (u32 id, uintptr_t recordsPtr, u32 count) |
| void | esengine::draw_setLayer (i32 layer) |
| void | esengine::draw_setDepth (f32 depth) |
| u32 | esengine::draw_getDrawCallCount () |
| u32 | esengine::draw_getPrimitiveCount () |
| void | esengine::draw_setBlendMode (i32 mode) |
| void | esengine::draw_setDepthTest (bool enabled) |
| u32 | esengine::draw_getDepthState () |
| void | esengine::draw_setDepthState (u32 flags) |
| void | esengine::draw_deferBegin () |