44#ifdef JPH_USE_CPU_COMPUTE
58#elif defined(JPH_USE_MTL)
66#elif defined(JPH_USE_VK)
ComputeSystemResult CreateComputeSystem()
Fallback implementation when no compute system is available.
Definition ComputeSystem.h:74
std::uint8_t uint8
Definition Core.h:501
#define JPH_EXPORT
Definition Core.h:275
std::uint64_t uint64
Definition Core.h:504
unsigned int uint
Definition Core.h:500
#define JPH_NAMESPACE_END
Definition Core.h:425
std::uint32_t uint32
Definition Core.h:503
#define JPH_NAMESPACE_BEGIN
Definition Core.h:419
#define JPH_ASSERT(...)
Definition IssueReporting.h:33
#define JPH_DECLARE_RTTI_ABSTRACT_BASE(linkage, class_name)
Definition RTTI.h:295
std::basic_string< char, std::char_traits< char >, STLAllocator< char > > String
Definition STLAllocator.h:107
Buffer that can be read from / written to by a compute shader.
Definition ComputeBuffer.h:18
Interface to run a workload on the GPU.
Definition ComputeSystem.h:16
std::function< bool(const char *inName, Array< uint8 > &outData, String &outError)> ShaderLoader
Callback used when loading shaders.
Definition ComputeSystem.h:33
Class that makes another class non-copyable. Usage: Inherit from NonCopyable.
Definition NonCopyable.h:11
Definition Reference.h:35
Helper class that either contains a valid result or an error.
Definition Result.h:12
void SetError(const char *inError)
Set an error value.
Definition Result.h:152