#include <GteFluid2UpdateState.h>
Public Member Functions | |
void | Execute (std::shared_ptr< GraphicsEngine > const &engine, std::shared_ptr< Texture2 > const &source, std::shared_ptr< Texture2 > const &stateTm1, std::shared_ptr< Texture2 > const &stateT) |
Fluid2UpdateState (std::shared_ptr< ProgramFactory > const &factory, int xSize, int ySize, int numXThreads, int numYThreads, std::shared_ptr< ConstantBuffer > const ¶meters) | |
std::shared_ptr< Texture2 > const & | GetUpdateState () const |
Private Attributes | |
std::shared_ptr< SamplerState > | mAdvectionSampler |
std::shared_ptr< ComputeProgram > | mComputeUpdateState |
int | mNumXGroups |
int | mNumYGroups |
std::shared_ptr< Texture2 > | mUpdateState |
Static Private Attributes | |
static std::string const | msGLSLSource |
static std::string const | msHLSLSource |
static std::string const * | msSource [ProgramFactory::PF_NUM_API] |
Definition at line 21 of file GteFluid2UpdateState.h.
Fluid2UpdateState::Fluid2UpdateState | ( | std::shared_ptr< ProgramFactory > const & | factory, |
int | xSize, | ||
int | ySize, | ||
int | numXThreads, | ||
int | numYThreads, | ||
std::shared_ptr< ConstantBuffer > const & | parameters | ||
) |
Definition at line 14 of file GteFluid2UpdateState.cpp.
void Fluid2UpdateState::Execute | ( | std::shared_ptr< GraphicsEngine > const & | engine, |
std::shared_ptr< Texture2 > const & | source, | ||
std::shared_ptr< Texture2 > const & | stateTm1, | ||
std::shared_ptr< Texture2 > const & | stateT | ||
) |
Definition at line 51 of file GteFluid2UpdateState.cpp.
|
inline |
Definition at line 52 of file GteFluid2UpdateState.h.
|
private |
Definition at line 43 of file GteFluid2UpdateState.h.
|
private |
Definition at line 42 of file GteFluid2UpdateState.h.
|
private |
Definition at line 41 of file GteFluid2UpdateState.h.
|
private |
Definition at line 41 of file GteFluid2UpdateState.h.
|
staticprivate |
Definition at line 47 of file GteFluid2UpdateState.h.
|
staticprivate |
Definition at line 48 of file GteFluid2UpdateState.h.
|
staticprivate |
Definition at line 49 of file GteFluid2UpdateState.h.
|
private |
Definition at line 44 of file GteFluid2UpdateState.h.