Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ComputeSystem.h File Reference

Go to the source code of this file.

Classes

class  ComputeSystem
 Interface to run a workload on the GPU. More...
 

Typedefs

using ComputeSystemResult = Result<Ref<ComputeSystem>>
 

Functions

JPH_EXPORT ComputeSystemResult CreateComputeSystemCPU ()
 
ComputeSystemResult CreateComputeSystem ()
 Fallback implementation when no compute system is available.
 

Typedef Documentation

◆ ComputeSystemResult

Function Documentation

◆ CreateComputeSystem()

ComputeSystemResult CreateComputeSystem ( )
inline

Fallback implementation when no compute system is available.

◆ CreateComputeSystemCPU()

JPH_EXPORT ComputeSystemResult CreateComputeSystemCPU ( )
extern

Factory function to create a compute system that falls back to CPU. This is intended mainly for debugging purposes and is not optimized for performance