|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
| src | |
| esengine | |
| animation | |
| EasingFunctions.hpp | |
| TweenData.hpp | |
| TweenSystem.cpp | |
| TweenSystem.hpp | |
| aot | |
| AotCommands.hpp | What a host does with the records a compiled system wrote |
| AotComponents.generated.cpp | |
| AotComponents.generated.hpp | |
| AotDispatcher.hpp | A loaded module's systems, bound once and callable by index |
| AotHost.hpp | The host half of the Estella ABI |
| AotModule.hpp | A built module of compiled systems, opened by a host that links |
| EngineDigest.generated.h | |
| estella_abi.h | |
| bindings | |
| modules | |
| basis | |
| BasisModuleEntry.cpp | Emscripten module: Basis Universal KTX2 transcoder |
| dragonbones | |
| DragonBonesAdapter.cpp | Geometry for the host types in DragonBonesAdapter.hpp |
| DragonBonesAdapter.hpp | The host types DragonBones requires, implemented for a module that renders nothing itself and only hands triangles across a boundary |
| DragonBonesBindings.hpp | The DragonBones module's exported ABI, declared apart from its bodies |
| DragonBonesModuleEntry.cpp | The DragonBones side module's exported ABI |
| physics | |
| PhysicsBindings.hpp | The Box2D module's entry points, declared once for both platforms |
| PhysicsContext.cpp | |
| PhysicsContext.hpp | |
| PhysicsJoints.cpp | |
| PhysicsModuleEntry.cpp | |
| PhysicsQueries.cpp | |
| PhysicsReadback.cpp | How many bytes each readback getter published |
| PhysicsShapes.cpp | |
| PhysicsTaskPool.cpp | |
| PhysicsTaskPool.hpp | The worker pool Box2D solves across on a device |
| physics3d | |
| Physics3DBindings.hpp | The Jolt module's entry points, declared once for both platforms |
| Physics3DConstraints.cpp | Joints: what holds two 3D bodies to each other |
| Physics3DContext.hpp | The one 3D world a frame steps, and the layer scheme Jolt asks for |
| Physics3DModuleEntry.cpp | The 3D physics side module's entry points |
| physics3d_physx | |
| PhysXJoints.cpp | Joints for the PhysX backend, on the Jolt module's terms |
| PhysXModuleEntry.cpp | The PhysX backend's world, bodies, characters, queries and readback |
| PhysXQueries.cpp | Characters and scene queries for the PhysX backend |
| PhysXWorld.hpp | The one 3D world the PhysX backend steps |
| spine | |
| SkeletalModule.hpp | What every 2D skeletal-animation side module needs, none of which is about any particular one |
| SpineBindings.hpp | The Spine runtime's entry points, declared once for both platforms |
| SpineModuleEntry.cpp | The Spine module's exported ABI — everything that does not depend on which Spine release is vendored |
| SpineRuntime.hpp | What a vendored Spine runtime owes the module, and nothing more |
| SpineRuntime21.cpp | The SpineRuntime backend for spine-c 2.1, the runtime a 2015 editor exports for |
| SpineRuntimeC.cpp | The SpineRuntime backend for spine-c, the pure-C runtime (3.8 - 4.2) |
| SpineRuntimeCpp.cpp | The SpineRuntime backend for spine-cpp, which 4.3 made the only runtime |
| video | |
| VideoBindings.hpp | The MPEG-1 decoder's entry points, declared once for both platforms |
| VideoModuleEntry.cpp | Emscripten module: MPEG-1 video decoder (pl_mpeg) |
| ActiveContext.hpp | |
| AnimationBindings.cpp | The tween entry points the SDK's Tween API drives |
| AnimationBindings.hpp | The tween entry points, declared once for both registration layers |
| BoundarySpan.hpp | Always-on validation for JS-supplied pointer+length pairs at the WASM boundary |
| EditorAPI.generated.cpp | Auto-generated editor API with string-dispatched component access |
| EngineContext.cpp | |
| EngineContext.hpp | |
| EngineState.hpp | |
| GeometryBindings.cpp | |
| GeometryBindings.hpp | |
| ImmediateDrawBindings.cpp | |
| ImmediateDrawBindings.hpp | |
| MaterialBindings.cpp | Implementation of the material / .esshader entry points |
| MaterialBindings.hpp | Material + .esshader entry points, for whichever core is embedded |
| PostProcessBindings.cpp | |
| PostProcessBindings.hpp | |
| RenderBinding.hpp | |
| RendererBindings.cpp | |
| RendererBindings.hpp | |
| ResourceManagerBindings.cpp | |
| ResourceManagerBindings.hpp | |
| TestProbeBindings.hpp | Adapters that exist only to let a driver run an experiment |
| TilemapBindings.cpp | |
| TilemapBindings.hpp | The tilemap entry points the SDK drives layers through |
| UIBindings.cpp | Implements the UI entry points (see UIBindings.hpp) |
| UIBindings.hpp | The UI entry points the SDK drives: the Yoga layout pass, hit testing, draw order, and the computed-box queries |
| WebBindings.generated.cpp | Auto-generated Emscripten embind bindings |
| WebSDKEntry.cpp | ESEngine Web SDK entry point with rendering support |
| core | |
| DynamicLibrary.hpp | Open a shared library and take a symbol out of it |
| EntityPose2D.hpp | |
| EstellaContext.cpp | Instance-based engine context implementation |
| EstellaContext.hpp | Instance-based engine context for estella renderer |
| FrameProfiler.hpp | Per-frame CPU scope timing (ES_PROFILE_SCOPE) read by the editor profiler |
| Half.hpp | IEEE binary32 → binary16, for the data the GPU takes at half width |
| Hash.hpp | |
| Log.cpp | Logging system implementation |
| Log.hpp | Logging utilities for ESEngine |
| PackedId.hpp | Single source of truth for index+generation bit-packing |
| RandomSource.cpp | |
| RandomSource.hpp | The engine's randomness, and the only place its seed lives |
| Reflection.hpp | Reflection and metadata system for automatic binding generation |
| Revision.hpp | What a resource's content is, as a number that changes whenever it does |
| ServiceRegistry.hpp | Typed service locator for engine subsystems |
| Types.hpp | Core type definitions and utilities for ESEngine |
| World.hpp | Unified context passed to all ECS systems |
| ecs | |
| components | |
| Billboard.hpp | A mesh that turns to whoever looks at it |
| BitmapText.hpp | |
| BodyType.hpp | How a solver is allowed to move a body — the one answer both worlds give |
| Camera.hpp | Camera component for rendering viewpoints |
| Canvas.hpp | Canvas component for 2D game resolution management |
| Collider2D.hpp | The shapes that give a flat body its extent |
| Common.hpp | Common tag and identifier components |
| ContentRect.hpp | The rectangle a piece of world content occupies: a size, and the point of it the entity's transform sits on |
| Draggable.hpp | Pointer-drag configuration |
| DragonBonesAnimation.hpp | A DragonBones armature on an entity |
| FlexContainer.hpp | |
| GroupOpacity.hpp | |
| Hierarchy.hpp | Hierarchy components for parent-child relationships |
| Impostor.hpp | A picture of a mesh, taken from many directions, drawn in its place once it is small |
| Interactable.hpp | |
| Light.hpp | 2D light source component for the Lit material domain |
| LODGroup.hpp | The cheaper geometry that may stand in for a MeshRenderer once it is small |
| MeshRenderer.hpp | Arbitrary-geometry 2D mesh renderable (deformed sprites, polygons, water surfaces, procedural shapes) |
| Occluder.hpp | A box sight does not pass through, so what stands behind it is not drawn. ShadowCaster2D answers where LIGHT stops; this answers where sight does |
| ParticleCollider.hpp | A shape particles bounce off without any physics: a signed distance a compute kernel can answer per particle |
| ParticleEmitter.hpp | |
| ParticleForceField.hpp | A scene-placed force zone that pushes every world-space particle near it |
| PlanarReflection.hpp | |
| ReflectionProbe.hpp | What a shiny surface standing HERE reflects, when the sky is not it. LightProbeVolume answers the same question for the diffuse half |
| RigidBody2D.hpp | A body the flat world simulates |
| RigidBody3D.hpp | A body the 3D world simulates, and the shapes that give it extent |
| ShadowCaster2D.hpp | Marks an entity as a 2D shadow occluder for the Lit lighting path |
| ShapeRenderer.hpp | |
| SortingGroup.hpp | Makes a subtree sort as ONE unit against the rest of the scene |
| SpineAnimation.hpp | Spine skeletal animation component |
| SpringBone.hpp | Secondary motion for a chain of bones: hair, tails, cords, cloth edges |
| Sprite.hpp | 2D sprite rendering component |
| SpriteMask.hpp | Turns this entity's Sprite into a stencil the sprites drawn after it can be cut by |
| TilemapLayer.hpp | Tilemap layer ECS component (editor-facing metadata) |
| TrailRenderer.hpp | World-space motion trail renderable (sword swipes, projectile/dash streaks, ribbon effects) |
| Transform.hpp | Unified Transform component with local and world-space data |
| UIInteraction.hpp | |
| UIMask.hpp | |
| UINode.hpp | |
| UIScroll.hpp | |
| UIVisual.hpp | |
| Velocity.hpp | Velocity component for physics simulation |
| ActiveView.hpp | |
| Component.hpp | Unified header for all built-in ECS components |
| ComponentMask.hpp | Dynamic bitset for tracking entity component membership |
| Entity.hpp | Entity utilities for the ECS system |
| EntityChangeJournal.hpp | |
| FlatGeometry.hpp | |
| GroupOpacityLookup.hpp | |
| Registry.hpp | Central ECS registry for entity and component management |
| Relation.hpp | A relationship between entities, stored as one: (Relation, target) pairs in the manner of Flecs |
| SparseSet.hpp | Sparse set data structure for efficient ECS component storage |
| System.hpp | ECS System base class and execution group |
| TransformEpoch.hpp | The words that say composed world transforms are stale, apart from the composer so the registry can say it too |
| TransformSystem.hpp | System for computing hierarchical world transforms |
| View.hpp | ECS View for querying entities with specific components |
| events | |
| Connection.hpp | RAII connection handle for event system |
| Events.hpp | Aggregate header for the event system |
| Signal.hpp | Type-safe signal implementation for event system |
| Sink.hpp | Connection interface for signals |
| math | |
| Math.hpp | Math utilities and GLM configuration for ESEngine |
| particle | |
| Particle.cpp | |
| Particle.hpp | |
| ParticleBursts.hpp | |
| ParticleEasing.hpp | |
| ParticleNoise.hpp | Deterministic curl-noise flow field for the particle Noise/Turbulence module — a pure-CPU, header-only vector field the sim advects particles along, exactly like gravity is a force in the same loop. No GPU path, no external tables, so it runs byte-identically on every platform (WeChat mini-game included) |
| ParticleShapes.hpp | Where a particle is born and which way it leaves — a pure function of the emitter's own configuration |
| ParticleSpeedLimit.hpp | |
| ParticleStretch.hpp | |
| ParticleSystem.cpp | |
| ParticleSystem.hpp | |
| renderer | |
| draw | |
| BatchBuilder.cpp | Implementation of the single submission face — the only DrawCommand producer |
| BatchBuilder.hpp | The single submission face: the ONLY place a DrawCommand is assembled |
| BatchVertex.hpp | |
| BillboardFacing.hpp | The rotation that turns a card to a view |
| BlendMode.hpp | Blend mode enumeration for custom rendering |
| ClipState.hpp | |
| CustomGeometry.cpp | Custom geometry implementation |
| CustomGeometry.hpp | Custom geometry for user-defined mesh rendering |
| DrawCommand.hpp | |
| DrawList.cpp | |
| DrawList.hpp | |
| DrawParams.cpp | Loose-uniform → std140 DrawParams block rewriter |
| DrawParams.hpp | Per-draw shader parameter block — the UBO home for what used to be loose uniforms |
| ImmediateDraw.cpp | Immediate mode 2D drawing implementation |
| ImmediateDraw.hpp | Immediate mode 2D drawing API |
| ImpostorFrames.hpp | Which direction each picture of an impostor atlas is taken from, and which picture a view is shown |
| MeshGeometry.hpp | Shared mesh LOD eligibility and local bounds for drawing and shadow fitting |
| PlacementBounds.hpp | Conservative mesh reach and affine stretch for native placements |
| RenderItem.hpp | |
| RetainedText.hpp | Glyph geometry the engine keeps between frames, and the clipping of it against a view |
| SpriteDrawResolve.hpp | Which geometry a Sprite draws — the rule, apart from the frame |
| SpriteMaskRange.hpp | Which SpriteMask, if any, cuts a sprite — the rule, apart from the frame |
| TextVertexFormat.hpp | |
| frame | |
| DynamicGI.cpp | |
| DynamicGI.hpp | Diffuse global illumination from the scene's distance field and surface cache, run as compute passes (WebGPU) |
| FrameCapture.cpp | |
| FrameCapture.hpp | One frame's draw calls as the device received them, for the frame debugger |
| FrameConstants.hpp | Per-frame shader constants shared via a single Uniform Buffer Object |
| Frustum.hpp | The six planes a projection bounds, and the box test against them |
| GpuParticles.cpp | |
| GpuParticles.hpp | Particles simulated by a compute kernel, drawn from the buffer the kernel wrote (WebGPU) |
| OcclusionView.hpp | What this view already has something solid in front of |
| PlanarReflectionCamera.hpp | |
| PostProcessPipeline.cpp | Post-processing effects pipeline implementation |
| PostProcessPipeline.hpp | Post-processing effects pipeline |
| QualityValues.hpp | |
| RenderContext.cpp | Rendering context implementation |
| RenderContext.hpp | Rendering context containing all renderer state |
| RenderFrame.cpp | Assemble and submit shared scene views, lighting and shadow passes |
| RenderFrame.hpp | Frame resources and the shared scene rendering contract |
| RenderFrameMask.cpp | |
| RenderFrameOverlay.cpp | The frame's screen-space overlay — one graph pass, no camera |
| RenderFramePlanar.cpp | |
| RenderFrameProbeCapture.cpp | The scene as seen from a point, all round, for a probe volume filled at run time |
| RenderFrameShadow2D.cpp | |
| RenderFrameSubmit.cpp | |
| RenderFrameWater.cpp | |
| RenderStage.hpp | |
| RenderThread.cpp | |
| RenderThread.hpp | |
| RippleNormals.cpp | |
| RippleNormals.hpp | |
| SkinCache.cpp | The compute skinning behind SkinCache.hpp |
| SkinCache.hpp | Skinned meshes posed once a frame by a compute shader, into vertices every pass then draws as they are |
| ViewShading.hpp | How a view shades the meshes it draws: as authored, clay, flat albedo, wireframe, or one part of the light |
| VoxelGI.cpp | |
| VoxelGI.hpp | Diffuse global illumination from a world-space voxel cache, run as compute passes (WebGPU) |
| graph | |
| RenderGraph.cpp | Compile and run a frame's full-screen passes. See RenderGraph.hpp |
| RenderGraph.hpp | Full-screen passes as a declared graph: what each one reads, what it writes, and at what size — the graph decides the rest |
| TargetPool.cpp | Borrow, return and age the frame's render targets. See TargetPool.hpp |
| TargetPool.hpp | The render targets a frame borrows from, keyed by shape — owned by the frame, not by any one graph that draws from it |
| lod | |
| ClusterSelection.hpp | Which clusters of a mesh's hierarchy one eye draws |
| LodSelection.hpp | Which representation an object's size on screen asks for |
| LodViewState.hpp | What a view knows about an object's level: what it chose, why, and whether something is being held up for inspection instead |
| plugins | |
| BatchPlugin.cpp | Shared quad / nine-slice geometry construction for batch render-type plugins |
| BatchPlugin.hpp | Base class for render-type plugins that emit textured quads into the Batch stream |
| MeshPlugin.cpp | Collect mesh geometry for scene, shadow, depth and motion passes |
| MeshPlugin.hpp | |
| ParticlePlugin.cpp | |
| ParticlePlugin.hpp | |
| ShapePlugin.cpp | |
| ShapePlugin.hpp | |
| SpritePlugin.cpp | |
| SpritePlugin.hpp | |
| TextPlugin.cpp | |
| TextPlugin.hpp | |
| TilemapRenderPlugin.cpp | |
| TilemapRenderPlugin.hpp | |
| TrailPlugin.cpp | |
| TrailPlugin.hpp | |
| UIElementPlugin.cpp | |
| UIElementPlugin.hpp | |
| rhi | |
| Buffer.cpp | GPU buffer implementations (device-backed) |
| Buffer.hpp | GPU buffer abstractions for vertex and index data |
| Framebuffer.cpp | Framebuffer implementation (device-backed) |
| Framebuffer.hpp | GPU framebuffer abstraction for render-to-texture |
| GfxContent.hpp | Who restores a GPU object's contents after the device is lost |
| GfxDevice.cpp | The device's record of its objects, and recovery as one transaction over it |
| GfxDevice.hpp | Abstract graphics device interface |
| GfxEnums.hpp | Backend-agnostic graphics enumerations |
| GfxResourceRegistry.hpp | Every GPU object a device has issued, described well enough to build again |
| GLDevice.cpp | OpenGL ES / WebGL implementation of GfxDevice |
| GLDevice.hpp | OpenGL ES / WebGL implementation of GfxDevice |
| GlslLoopFloor.hpp | |
| OpenGLHeaders.hpp | Platform-specific OpenGL header includes |
| PerDrawBlocks.hpp | A uniform range per draw, so two draws never write into one block |
| PipelineState.hpp | Immutable GPU pipeline state — the backend-agnostic unit of "how to draw" |
| PixelUpload.hpp | Row arithmetic shared by the backends' texture uploads |
| RenderTarget.cpp | |
| RenderTarget.hpp | |
| Shader.cpp | Shader program implementation |
| Shader.hpp | GPU shader program abstraction |
| ShaderEmbeds.generated.hpp | |
| Texture.cpp | Texture implementation (device-backed) |
| Texture.hpp | GPU texture abstraction for 2D images |
| TransientBufferPool.cpp | |
| TransientBufferPool.hpp | |
| WgslBindings.hpp | What a texture unit is called in WGSL, and what a WGSL source says about the group-1 bindings it holds |
| store | |
| EngineTextureUnits.hpp | The samplers the engine injects into a shader, and the texture unit each is pinned to |
| HdrFormat.hpp | What a linear project ASKED its intermediates to be, and what the device let them be |
| InstanceConstants.hpp | WHERE one draw's entry is in the frame's per-object record texture, and what an entry says |
| LightConstants.hpp | Per-frame 2D lighting constants — the third tier of the engine's constant-buffer layering (after per-frame FrameConstants at 0 and per-material MaterialConstants at 1) |
| LightPlan.hpp | Which lights reached the frame, and who was turned away |
| LightStore.cpp | GPU-touching parts of LightStore (the per-frame lighting UBO lifecycle + binding) |
| LightStore.hpp | Engine-side 2D light registry — the per-frame LightConstants UBO and its CPU mirror |
| MaterialConstants.hpp | Binding points for per-material shader constants — the second tier of the engine's constant-buffer layering (after per-frame FrameConstants at binding 0) |
| MaterialStore.cpp | GPU-touching parts of MaterialStore (per-material UBO lifecycle + binding) |
| MaterialStore.hpp | Engine-side material registry — the resolved "how to draw" for a material handle |
| MorphConstants.hpp | The shapes one draw is blended towards: which targets, and how far |
| PlanarConstants.hpp | |
| ProbeConstants.hpp | The indirect light where ONE draw stands, when a grid was baked for it |
| ProbeStore.hpp | Which baked grid a point stands in, and what it says there |
| ReflectionStore.hpp | Which baked reflection a point stands in — the specular half of the question ProbeStore answers for irradiance |
| ShadowAtlas.hpp | Who owns which square of the one shadow texture |
| ShadowChannels2D.hpp | Which channel of the 2D shadow mask each casting light draws into, so lights that never meet can share one |
| ShadowPlan.hpp | What each caster asked the shadow atlas for, and what it got |
| SkinConstants.hpp | The pose one skinned draw is deformed by: a bone matrix per joint |
| TiledLights.hpp | Which screen tiles a light can reach — the half of tiled forward lighting that is decided on the CPU |
| webgpu | |
| MetalComputeQueue.cpp | |
| MetalComputeQueue.hpp | |
| WebGPUDevice.cpp | WebGPU backend (REARCH_WGSL Phase 2): resources + the live render path — surface, pass encoding with depth-stencil attachments, lazy per-DS-shape pipelines, texture/sampler bind groups, draws, and the internal clear-triangle emulations |
| WebGPUDevice.hpp | WebGPU (Dawn / emdawnwebgpu) backend for GfxDevice (REARCH_WGSL Phase 2) |
| WebGPUMappings.hpp | Pure RHI-enum → WebGPU translations (REARCH_WGSL Phase 2) |
| RenderOrigin.hpp | The point the frame is drawn relative to: a world far from zero loses precision in single floats, so positions go to the GPU as offsets from a point near the camera |
| RenderTypePlugin.hpp | |
| resource | |
| Environment.hpp | A baked environment: what a surface sees when no light faces it |
| Handle.hpp | Type-safe resource handle system |
| Mesh.hpp | Geometry that lives on the GPU rather than in a frame |
| MeshArena.hpp | Meshes of one vertex shape sharing a vertex buffer, an index buffer and a layout |
| MeshEdges.hpp | The distinct edges of a triangle list, as the line list a wireframe draws |
| MeshUvDensity.hpp | How much texture a mesh's surface holds: UV units per world unit of its own surface |
| ProbeVolume.hpp | A baked environment sampled on a grid, rather than held at one value |
| ResourceManager.cpp | Central resource management system implementation |
| ResourceManager.hpp | Central resource management system |
| ResourcePool.hpp | Type-erased resource pool with reference counting |
| ShaderParser.cpp | Parser for unified .esshader file format |
| ShaderParser.hpp | Parser for unified .esshader file format |
| TextureMetadata.hpp | Texture metadata structures for nine-slice and other settings |
| WaterSunShader.hpp | |
| springbone | |
| SpringBoneSolver.cpp | |
| SpringBoneSolver.hpp | The arithmetic of a spring chain, with no registry in it: Verlet integration, length constraints, collision against spheres and capsules, and the rotation that aims a bone at where its child has got to |
| SpringBoneSystem.cpp | |
| SpringBoneSystem.hpp | Per-App secondary motion: runs every SpringBone chain after the animation has posed the skeleton and before the frame is drawn |
| text | |
| BitmapFont.cpp | |
| BitmapFont.hpp | |
| SdfGenerator.cpp | Exact signed distance field from an antialiased coverage bitmap |
| SdfGenerator.hpp | Signed distance field generation from an 8-bit alpha coverage bitmap |
| Utf8.hpp | |
| tilemap | |
| ChunkBlob.hpp | |
| TileFlip.hpp | Tiled tile-flip → UV transform (single source, dependency-free) |
| TileGrid.hpp | Local tile placement and polygon containment shared by rendering and queries |
| TilemapSystem.cpp | |
| TilemapSystem.hpp | |
| TilesetTable.hpp | Per-layer tileset table + GID→tileset resolution (dependency-free) |
| trail | |
| TrailSystem.cpp | |
| TrailSystem.hpp | Per-App motion-trail simulation: records each TrailRenderer entity's world position over time into a point history that TrailPlugin renders as a ribbon |
| ui | |
| CanvasRoots.hpp | |
| UIHitTestSystem.hpp | Pure geometric helpers used by UISystem hit-test |
| UILayoutSystem.cpp | |
| UILayoutSystem.hpp | |
| UIRenderOrderSystem.hpp | |
| UISystem.cpp | UISystem hit-test implementation |
| UISystem.hpp | UI subsystem owning layout tree and hit-test state |
| UITree.hpp | |
| UITypes.hpp | |
| ESEngine.hpp | Main header file for ESEngine - includes all public API |