#include <JoltGPUScene.hpp>
|
| | JoltGPUScene (RHIDevice *device, Core::JobSystem *jobs, JoltGPUSceneDesc const &desc={}, Core::Allocator *allocator=GLOBAL_ALLOC) |
| |
| | ~JoltGPUScene () |
| |
| | JoltGPUScene (JoltGPUScene const &)=delete |
| |
| JoltGPUScene & | operator= (JoltGPUScene const &)=delete |
| |
| GPUScene & | GetGPUScene () |
| |
| GPUScene const & | GetGPUScene () const |
| |
| GPUScene::Result | Upload (FImportedMesh const &source, GeometryHandle &outHandle) |
| |
| void | Join () |
| |
| PhysicsStatus | CreateShape (PhysicsShapeDesc const &desc, PhysicsShapeHandle &outHandle) |
| |
| PhysicsStatus | DestroyShape (PhysicsShapeHandle handle) |
| |
| PhysicsStatus | CreateMaterial (GSMaterial const &material, GPUSceneMaterialHandle &outHandle) |
| |
| PhysicsStatus | SetMaterial (GPUSceneMaterialHandle handle, GSMaterial const &material) |
| |
| PhysicsStatus | DestroyMaterial (GPUSceneMaterialHandle handle) |
| |
| PhysicsStatus | CreateLight (GSLight const &light, GPUSceneLightHandle &outHandle) |
| |
| PhysicsStatus | SetLight (GPUSceneLightHandle handle, GSLight const &light) |
| |
| PhysicsStatus | DestroyLight (GPUSceneLightHandle handle) |
| |
| PhysicsStatus | Spawn (PhysicsBodyDesc const &bodyDesc, PhysicsVisualDesc const &visualDesc, PhysicsBodyHandle &outBody) |
| |
| PhysicsStatus | Destroy (PhysicsBodyHandle body) |
| |
| bool | IsBodyValid (PhysicsBodyHandle handle) const |
| |
| PhysicsStatus | SetObjectMaterial (PhysicsBodyHandle body, GPUSceneMaterialHandle material) |
| |
| PhysicsStatus | RayCast (PhysicsRayDesc const &ray, PhysicsRayHit &outHit) const |
| |
| PhysicsStatus | GetBodyPose (PhysicsBodyHandle body, PhysicsBodyPose &outPose) const |
| |
| PhysicsStatus | SetBodyPose (PhysicsBodyHandle body, PhysicsBodyPose const &pose, PhysicsActivation activation=PhysicsActivation::Activate) |
| |
| PhysicsStatus | SetLinearVelocity (PhysicsBodyHandle body, float3 const &velocity) |
| |
| PhysicsStatus | Step (float deltaSeconds, int collisionSteps=1) |
| |
| PhysicsStatus | Commit (RendererUBO &ubo) |
| |
| uint32_t | GetObjectCount () const |
| |
| uint32_t | GetBodyCount () const |
| |
| uint32_t | GetMaxBodies () const |
| |
◆ JoltGPUScene() [1/2]
◆ ~JoltGPUScene()
| Foundation::Examples::JoltGPUScene::~JoltGPUScene |
( |
| ) |
|
◆ JoltGPUScene() [2/2]
| Foundation::Examples::JoltGPUScene::JoltGPUScene |
( |
JoltGPUScene const & |
| ) |
|
|
delete |
◆ Commit()
◆ CreateLight()
◆ CreateMaterial()
◆ CreateShape()
◆ Destroy()
◆ DestroyLight()
◆ DestroyMaterial()
◆ DestroyShape()
◆ GetBodyCount()
| uint32_t Foundation::Examples::JoltGPUScene::GetBodyCount |
( |
| ) |
const |
|
inline |
◆ GetBodyPose()
◆ GetGPUScene() [1/2]
| GPUScene & Foundation::Examples::JoltGPUScene::GetGPUScene |
( |
| ) |
|
|
inline |
◆ GetGPUScene() [2/2]
| GPUScene const & Foundation::Examples::JoltGPUScene::GetGPUScene |
( |
| ) |
const |
|
inline |
◆ GetMaxBodies()
| uint32_t Foundation::Examples::JoltGPUScene::GetMaxBodies |
( |
| ) |
const |
|
inline |
◆ GetObjectCount()
| uint32_t Foundation::Examples::JoltGPUScene::GetObjectCount |
( |
| ) |
const |
|
inline |
◆ IsBodyValid()
| bool Foundation::Examples::JoltGPUScene::IsBodyValid |
( |
PhysicsBodyHandle |
handle | ) |
const |
◆ Join()
| void Foundation::Examples::JoltGPUScene::Join |
( |
| ) |
|
◆ MarkBroadPhaseDirty()
| void Foundation::Examples::JoltGPUScene::MarkBroadPhaseDirty |
( |
| ) |
|
|
private |
◆ operator=()
◆ RayCast()
◆ ResolveLight()
◆ ResolveMaterial() [1/2]
◆ ResolveMaterial() [2/2]
◆ SetBodyPose()
◆ SetLight()
◆ SetLinearVelocity()
◆ SetMaterial()
◆ SetObjectMaterial()
◆ Spawn()
◆ Step()
| PhysicsStatus Foundation::Examples::JoltGPUScene::Step |
( |
float |
deltaSeconds, |
|
|
int |
collisionSteps = 1 |
|
) |
| |
◆ Upload()
◆ mBroadPhaseDirty
| bool Foundation::Examples::JoltGPUScene::mBroadPhaseDirty {false} |
|
private |
◆ mFreeLights
| Core::Vector<uint32_t> Foundation::Examples::JoltGPUScene::mFreeLights |
|
private |
◆ mFreeMaterials
| Core::Vector<uint32_t> Foundation::Examples::JoltGPUScene::mFreeMaterials |
|
private |
◆ mGPU
| GPUScene Foundation::Examples::JoltGPUScene::mGPU |
|
private |
◆ mLights
◆ mMaterials
◆ mObjects
◆ mWorld
The documentation for this class was generated from the following files: