|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include "../core/Types.hpp"#include "../math/Math.hpp"#include "../ecs/Registry.hpp"#include "../ecs/components/Transform.hpp"#include "../ecs/components/ParticleEmitter.hpp"#include "../ecs/components/ParticleForceField.hpp"#include "../ecs/components/ParticleCollider.hpp"#include "Particle.hpp"#include "ParticleBursts.hpp"#include "ParticleEasing.hpp"#include "ParticleShapes.hpp"#include <unordered_map>#include <unordered_set>#include <functional>#include <random>#include <array>#include <algorithm>#include "../core/Reflection.hpp"

Go to the source code of this file.
Classes | |
| struct | esengine::particle::ForceFieldInstance |
| struct | esengine::particle::SdfColliderInstance |
| struct | esengine::particle::CollisionQuery |
| struct | esengine::particle::CollisionReply |
| struct | esengine::particle::CollisionEvent |
| struct | esengine::particle::CollisionStats |
| struct | esengine::particle::GpuStep |
| What one frame asks of a GPU-simulated emitter: how long to advance, how many to spawn and where in the ring they go. More... | |
| struct | esengine::particle::EmitterState |
| class | esengine::particle::ParticleSystem |
Namespaces | |
| namespace | esengine |
| namespace | esengine::particle |
Typedefs | |
| using | esengine::particle::ColorLut = std::array<glm::vec4, kColorLutSize> |
| using | esengine::particle::SizeLut = std::array<f32, kColorLutSize> |
Functions | |
| f32 | esengine::particle::sdfDistance (const SdfColliderInstance &c, const glm::vec3 &point) |
| How far a world point is outside a collider, negative inside; what the kernel's sdfOne answers. | |
Variables | |
| constexpr int | esengine::particle::kColorLutSize = 32 |
| constexpr int | esengine::particle::kMaxTrailPoints = 12 |