26 virtual void *
MapInternal(EMode inMode)
override {
return mData; }
#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
#define JPH_NAMESPACE_BEGIN
Definition Core.h:419
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition Memory.h:50
Buffer that can be used with the CPU compute system.
Definition ComputeBufferCPU.h:13
void * GetData() const
Definition ComputeBufferCPU.h:23
Buffer that can be read from / written to by a compute shader.
Definition ComputeBuffer.h:18
virtual ComputeBufferResult CreateReadBackBuffer() const =0
virtual void * MapInternal(EMode inMode)=0
EType
Type of buffer.
Definition ComputeBuffer.h:24
virtual void UnmapInternal()=0
Helper class that either contains a valid result or an error.
Definition Result.h:12