31 int xSize,
int ySize,
int numXThreads,
int numYThreads,
32 std::shared_ptr<ConstantBuffer>
const& parameters);
37 inline std::shared_ptr<Texture2>
const& GetSource()
const;
41 void Execute(std::shared_ptr<GraphicsEngine>
const& engine);
44 enum { NUM_VORTICES = 1024 };
static std::string const msHLSLInitializeSource
static std::string const msGLSLGenerateSource
std::shared_ptr< Texture2 > mVelocity0
Vector4< float > densityProducer
static std::string const msHLSLGenerateSource
std::shared_ptr< ConstantBuffer > mExternal
GLsizei const GLchar *const * string
std::shared_ptr< Texture2 > mSource
Vector4< float > densityConsumer
std::shared_ptr< ConstantBuffer > mVortex
std::shared_ptr< ComputeProgram > mInitializeSource
std::shared_ptr< ComputeProgram > mGenerateVortex
static std::string const msGLSLInitializeSource
std::shared_ptr< Texture2 > const & GetSource() const
std::shared_ptr< Texture2 > mVelocity1