|
Foundation
|
#include <Scene.hpp>
Classes | |
| struct | Params |
Public Member Functions | |
| Scene (GPUScene *scene, Allocator *allocator) | |
| void | CommitParams () |
| VirtualAllocation | GetParamsAllocationRawOffset () const |
| SceneHandle | PushMesh (MeshScratchBuffers const &data) |
| MeshAllocation const & | QueryMesh (SceneHandle handle) |
| void | FreeMesh (SceneHandle handle) |
| Span< Instance > | MapInstances () |
| void | UnmapInstances () |
Public Attributes | |
| float | mTime {} |
| uint32_t | mInstanceCount {0} |
| Camera | mCamera {} |
| Camera | mCullingCamera {} |
| Grid | mGrid {} |
Private Attributes | |
| Allocator * | mAllocator |
| GPUScene * | mGPUScene |
| Pool< SceneHandle, MeshAllocation > | mMeshes |
| VirtualAllocation | mSceneParamsAllocation |
| void ModelViewer::Scene::CommitParams | ( | ) |
| void ModelViewer::Scene::FreeMesh | ( | SceneHandle | handle | ) |
| VirtualAllocation ModelViewer::Scene::GetParamsAllocationRawOffset | ( | ) | const |
| SceneHandle ModelViewer::Scene::PushMesh | ( | MeshScratchBuffers const & | data | ) |
| MeshAllocation const & ModelViewer::Scene::QueryMesh | ( | SceneHandle | handle | ) |
| void ModelViewer::Scene::UnmapInstances | ( | ) |
|
private |
| Camera ModelViewer::Scene::mCamera {} |
| Camera ModelViewer::Scene::mCullingCamera {} |
|
private |
| Grid ModelViewer::Scene::mGrid {} |
| uint32_t ModelViewer::Scene::mInstanceCount {0} |
|
private |
|
private |
| float ModelViewer::Scene::mTime {} |