Public Member Functions | Private Attributes | Static Private Attributes | List of all members
gte::Fluid2AdjustVelocity Class Reference

#include <GteFluid2AdjustVelocity.h>

Public Member Functions

void Execute (std::shared_ptr< GraphicsEngine > const &engine, std::shared_ptr< Texture2 > const &inState, std::shared_ptr< Texture2 > const &poisson, std::shared_ptr< Texture2 > const &outState)
 
 Fluid2AdjustVelocity (std::shared_ptr< ProgramFactory > const &factory, int xSize, int ySize, int numXThreads, int numYThreads, std::shared_ptr< ConstantBuffer > const &parameters)
 

Private Attributes

std::shared_ptr< ComputeProgrammAdjustVelocity
 
int mNumXGroups
 
int mNumYGroups
 

Static Private Attributes

static std::string const msGLSLSource
 
static std::string const msHLSLSource
 
static std::string const * msSource [ProgramFactory::PF_NUM_API]
 

Detailed Description

Definition at line 20 of file GteFluid2AdjustVelocity.h.

Constructor & Destructor Documentation

Fluid2AdjustVelocity::Fluid2AdjustVelocity ( 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 GteFluid2AdjustVelocity.cpp.

Member Function Documentation

void Fluid2AdjustVelocity::Execute ( std::shared_ptr< GraphicsEngine > const &  engine,
std::shared_ptr< Texture2 > const &  inState,
std::shared_ptr< Texture2 > const &  poisson,
std::shared_ptr< Texture2 > const &  outState 
)

Definition at line 35 of file GteFluid2AdjustVelocity.cpp.

Member Data Documentation

std::shared_ptr<ComputeProgram> gte::Fluid2AdjustVelocity::mAdjustVelocity
private

Definition at line 36 of file GteFluid2AdjustVelocity.h.

int gte::Fluid2AdjustVelocity::mNumXGroups
private

Definition at line 35 of file GteFluid2AdjustVelocity.h.

int gte::Fluid2AdjustVelocity::mNumYGroups
private

Definition at line 35 of file GteFluid2AdjustVelocity.h.

std::string const Fluid2AdjustVelocity::msGLSLSource
staticprivate

Definition at line 39 of file GteFluid2AdjustVelocity.h.

std::string const Fluid2AdjustVelocity::msHLSLSource
staticprivate

Definition at line 40 of file GteFluid2AdjustVelocity.h.

std::string const * Fluid2AdjustVelocity::msSource
staticprivate
Initial value:

Definition at line 41 of file GteFluid2AdjustVelocity.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06