|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Collect mesh geometry for scene, shadow, depth and motion passes. More...
#include "MeshPlugin.hpp"#include "../draw/BatchBuilder.hpp"#include "../store/MaterialStore.hpp"#include "../store/MorphConstants.hpp"#include "../store/ProbeConstants.hpp"#include "../frame/RenderFrame.hpp"#include "../frame/SkinCache.hpp"#include "../frame/RenderContext.hpp"#include "../rhi/Texture.hpp"#include "../rhi/ShaderEmbeds.generated.hpp"#include "../../ecs/components/Transform.hpp"#include "../../ecs/components/MeshRenderer.hpp"#include "../../ecs/components/LODGroup.hpp"#include "../../ecs/components/Billboard.hpp"#include "../draw/BillboardFacing.hpp"#include "../draw/ImpostorFrames.hpp"#include "../draw/PlacementBounds.hpp"#include "../draw/MeshGeometry.hpp"#include "../../ecs/components/Impostor.hpp"#include "../../resource/Mesh.hpp"#include "../../resource/ShaderParser.hpp"#include "../../core/Log.hpp"#include "../../core/FrameProfiler.hpp"#include "../../core/Hash.hpp"#include <glm/gtc/matrix_transform.hpp>#include <glm/gtc/matrix_inverse.hpp>#include <glm/gtc/matrix_access.hpp>#include <algorithm>#include <cmath>#include <limits>#include <string>#include <vector>#include <cstring>
Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Variables | |
| constexpr f32 | esengine::kClusterPixelError = 1.0f |
| The error a clustered mesh may show, in pixels of the scene view, before a finer cluster is drawn. | |
| constexpr u64 | esengine::kClusterCutIdleCollects = 2048 |
| Collects a cut may go undrawn before its buffer is given back. A frame has several: the scene's, each shadow map's. | |
| constexpr u64 | esengine::kClusterCutFreshCollects = 64 |
Collect mesh geometry for scene, shadow, depth and motion passes.
Definition in file MeshPlugin.cpp.