Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ShaderWrapper Class Referenceabstract

Wraps a compute shader to allow calling it from C++. More...

#include <ShaderWrapper.h>

Public Member Functions

virtual ~ShaderWrapper ()=default
 Destructor.
 
virtual void Bind (const char *inName, void *inData, uint64 inSize)=0
 Bind buffer to shader.
 
virtual void Main (const HLSLToCPP::uint3 &inThreadID)=0
 Execute a single shader thread.
 

Detailed Description

Wraps a compute shader to allow calling it from C++.

Constructor & Destructor Documentation

◆ ~ShaderWrapper()

virtual ShaderWrapper::~ShaderWrapper ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Bind()

virtual void ShaderWrapper::Bind ( const char * inName,
void * inData,
uint64 inSize )
pure virtual

Bind buffer to shader.

◆ Main()

virtual void ShaderWrapper::Main ( const HLSLToCPP::uint3 & inThreadID)
pure virtual

Execute a single shader thread.


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