#include <GteFluid2InitializeSource.h>
Classes | |
struct | External |
struct | Vortex |
Public Member Functions | |
void | Execute (std::shared_ptr< GraphicsEngine > const &engine) |
Fluid2InitializeSource (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 & | GetSource () const |
Private Types | |
enum | { NUM_VORTICES = 1024 } |
Private Attributes | |
std::shared_ptr< ConstantBuffer > | mExternal |
std::shared_ptr< ComputeProgram > | mGenerateVortex |
std::shared_ptr< ComputeProgram > | mInitializeSource |
int | mNumXGroups |
int | mNumYGroups |
std::shared_ptr< Texture2 > | mSource |
std::shared_ptr< Texture2 > | mVelocity0 |
std::shared_ptr< Texture2 > | mVelocity1 |
std::shared_ptr< ConstantBuffer > | mVortex |
Static Private Attributes | |
static std::string const * | msGenerateSource [ProgramFactory::PF_NUM_API] |
static std::string const | msGLSLGenerateSource |
static std::string const | msGLSLInitializeSource |
static std::string const | msHLSLGenerateSource |
static std::string const | msHLSLInitializeSource |
static std::string const * | msInitializeSource [ProgramFactory::PF_NUM_API] |
Definition at line 20 of file GteFluid2InitializeSource.h.
|
private |
Enumerator | |
---|---|
NUM_VORTICES |
Definition at line 44 of file GteFluid2InitializeSource.h.
Fluid2InitializeSource::Fluid2InitializeSource | ( | std::shared_ptr< ProgramFactory > const & | factory, |
int | xSize, | ||
int | ySize, | ||
int | numXThreads, | ||
int | numYThreads, | ||
std::shared_ptr< ConstantBuffer > const & | parameters | ||
) |
Definition at line 15 of file GteFluid2InitializeSource.cpp.
void Fluid2InitializeSource::Execute | ( | std::shared_ptr< GraphicsEngine > const & | engine | ) |
Definition at line 69 of file GteFluid2InitializeSource.cpp.
|
inline |
Definition at line 77 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 63 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 60 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 61 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 59 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 59 of file GteFluid2InitializeSource.h.
|
staticprivate |
Definition at line 73 of file GteFluid2InitializeSource.h.
|
staticprivate |
Definition at line 69 of file GteFluid2InitializeSource.h.
|
staticprivate |
Definition at line 70 of file GteFluid2InitializeSource.h.
|
staticprivate |
Definition at line 71 of file GteFluid2InitializeSource.h.
|
staticprivate |
Definition at line 72 of file GteFluid2InitializeSource.h.
|
staticprivate |
Definition at line 74 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 66 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 64 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 65 of file GteFluid2InitializeSource.h.
|
private |
Definition at line 62 of file GteFluid2InitializeSource.h.