Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ComputeShader Class Reference

Compute shader handle. More...

#include <ComputeShader.h>

Inheritance diagram for ComputeShader:
RefTarget< ComputeShader > NonCopyable ComputeShaderCPU

Public Member Functions

JPH_OVERRIDE_NEW_DELETE ComputeShader (uint32 inGroupSizeX, uint32 inGroupSizeY, uint32 inGroupSizeZ)
 Constructor / destructor.
 
virtual ~ComputeShader ()=default
 
uint32 GetGroupSizeX () const
 Get group sizes.
 
uint32 GetGroupSizeY () const
 
uint32 GetGroupSizeZ () const
 
- Public Member Functions inherited from RefTarget< ComputeShader >
 RefTarget ()=default
 Constructor.
 
 RefTarget (const RefTarget &)
 
 ~RefTarget ()
 assert no one is referencing us
 
void SetEmbedded () const
 
RefTargetoperator= (const RefTarget &)
 Assignment operator.
 
uint32 GetRefCount () const
 Get current refcount of this object.
 
void AddRef () const
 Add or release a reference to this object.
 
void Release () const
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from RefTarget< ComputeShader >
static int sInternalGetRefCountOffset ()
 INTERNAL HELPER FUNCTION USED BY SERIALIZATION.
 
- Protected Attributes inherited from RefTarget< ComputeShader >
atomic< uint32mRefCount
 Current reference count.
 
- Static Protected Attributes inherited from RefTarget< ComputeShader >
static constexpr uint32 cEmbedded
 A large value that gets added to the refcount to mark the object as embedded.
 

Detailed Description

Compute shader handle.

Constructor & Destructor Documentation

◆ ComputeShader()

JPH_OVERRIDE_NEW_DELETE ComputeShader::ComputeShader ( uint32 inGroupSizeX,
uint32 inGroupSizeY,
uint32 inGroupSizeZ )
inline

Constructor / destructor.

◆ ~ComputeShader()

virtual ComputeShader::~ComputeShader ( )
virtualdefault

Member Function Documentation

◆ GetGroupSizeX()

uint32 ComputeShader::GetGroupSizeX ( ) const
inline

Get group sizes.

◆ GetGroupSizeY()

uint32 ComputeShader::GetGroupSizeY ( ) const
inline

◆ GetGroupSizeZ()

uint32 ComputeShader::GetGroupSizeZ ( ) const
inline

The documentation for this class was generated from the following file: