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

#include <GteFluid3UpdateState.h>

Public Member Functions

void Execute (std::shared_ptr< GraphicsEngine > const &engine, std::shared_ptr< Texture3 > const &source, std::shared_ptr< Texture3 > const &stateTm1, std::shared_ptr< Texture3 > const &stateT)
 
 Fluid3UpdateState (std::shared_ptr< ProgramFactory > const &factory, int xSize, int ySize, int zSize, int numXThreads, int numYThreads, int numZThreads, std::shared_ptr< ConstantBuffer > const &parameters)
 
std::shared_ptr< Texture3 > const & GetUpdateState () const
 

Private Attributes

std::shared_ptr< SamplerStatemAdvectionSampler
 
std::shared_ptr< ComputeProgrammComputeUpdateState
 
int mNumXGroups
 
int mNumYGroups
 
int mNumZGroups
 
std::shared_ptr< Texture3mUpdateState
 

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 GteFluid3UpdateState.h.

Constructor & Destructor Documentation

Fluid3UpdateState::Fluid3UpdateState ( std::shared_ptr< ProgramFactory > const &  factory,
int  xSize,
int  ySize,
int  zSize,
int  numXThreads,
int  numYThreads,
int  numZThreads,
std::shared_ptr< ConstantBuffer > const &  parameters 
)

Definition at line 14 of file GteFluid3UpdateState.cpp.

Member Function Documentation

void Fluid3UpdateState::Execute ( std::shared_ptr< GraphicsEngine > const &  engine,
std::shared_ptr< Texture3 > const &  source,
std::shared_ptr< Texture3 > const &  stateTm1,
std::shared_ptr< Texture3 > const &  stateT 
)

Definition at line 54 of file GteFluid3UpdateState.cpp.

std::shared_ptr< Texture3 > const & gte::Fluid3UpdateState::GetUpdateState ( ) const
inline

Definition at line 50 of file GteFluid3UpdateState.h.

Member Data Documentation

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

Definition at line 41 of file GteFluid3UpdateState.h.

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

Definition at line 40 of file GteFluid3UpdateState.h.

int gte::Fluid3UpdateState::mNumXGroups
private

Definition at line 39 of file GteFluid3UpdateState.h.

int gte::Fluid3UpdateState::mNumYGroups
private

Definition at line 39 of file GteFluid3UpdateState.h.

int gte::Fluid3UpdateState::mNumZGroups
private

Definition at line 39 of file GteFluid3UpdateState.h.

std::string const Fluid3UpdateState::msGLSLSource
staticprivate

Definition at line 45 of file GteFluid3UpdateState.h.

std::string const Fluid3UpdateState::msHLSLSource
staticprivate

Definition at line 46 of file GteFluid3UpdateState.h.

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

Definition at line 47 of file GteFluid3UpdateState.h.

std::shared_ptr<Texture3> gte::Fluid3UpdateState::mUpdateState
private

Definition at line 42 of file GteFluid3UpdateState.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