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

#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 &parameters)
 
std::shared_ptr< Texture2 > const & GetUpdateState () const
 

Private Attributes

std::shared_ptr< SamplerStatemAdvectionSampler
 
std::shared_ptr< ComputeProgrammComputeUpdateState
 
int mNumXGroups
 
int mNumYGroups
 
std::shared_ptr< Texture2mUpdateState
 

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 21 of file GteFluid2UpdateState.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

std::shared_ptr< Texture2 > const & gte::Fluid2UpdateState::GetUpdateState ( ) const
inline

Definition at line 52 of file GteFluid2UpdateState.h.

Member Data Documentation

std::shared_ptr<SamplerState> gte::Fluid2UpdateState::mAdvectionSampler
private

Definition at line 43 of file GteFluid2UpdateState.h.

std::shared_ptr<ComputeProgram> gte::Fluid2UpdateState::mComputeUpdateState
private

Definition at line 42 of file GteFluid2UpdateState.h.

int gte::Fluid2UpdateState::mNumXGroups
private

Definition at line 41 of file GteFluid2UpdateState.h.

int gte::Fluid2UpdateState::mNumYGroups
private

Definition at line 41 of file GteFluid2UpdateState.h.

std::string const Fluid2UpdateState::msGLSLSource
staticprivate

Definition at line 47 of file GteFluid2UpdateState.h.

std::string const Fluid2UpdateState::msHLSLSource
staticprivate

Definition at line 48 of file GteFluid2UpdateState.h.

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

Definition at line 49 of file GteFluid2UpdateState.h.

std::shared_ptr<Texture2> gte::Fluid2UpdateState::mUpdateState
private

Definition at line 44 of file GteFluid2UpdateState.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