31 int xSize,
int ySize,
int zSize,
int numXThreads,
int numYThreads,
int numZThreads,
32 std::shared_ptr<ConstantBuffer>
const& parameters);
35 inline std::shared_ptr<Texture3>
const& GetSource()
const;
39 void Execute(std::shared_ptr<GraphicsEngine>
const& engine);
42 enum { NUM_VORTICES = 1024 };
std::shared_ptr< Texture3 > mVelocity1
gte::Vector4< float > gravity
gte::Vector4< float > densityPData
std::shared_ptr< ComputeProgram > mInitializeSource
gte::Vector4< float > densityConsumer
static std::string const msGLSLInitializeSource
static std::string const msHLSLInitializeSource
gte::Vector4< float > densityProducer
std::shared_ptr< ConstantBuffer > mVortex
gte::Vector4< float > data
GLsizei const GLchar *const * string
gte::Vector4< float > densityCData
gte::Vector4< float > windData
std::shared_ptr< Texture3 > mVelocity0
static std::string const msHLSLGenerateSource
gte::Vector4< float > normal
std::shared_ptr< Texture3 > mSource
std::shared_ptr< Texture3 > const & GetSource() const
std::shared_ptr< ComputeProgram > mGenerateVortex
std::shared_ptr< ConstantBuffer > mExternal
gte::Vector4< float > position
static std::string const msGLSLGenerateSource