Classes | Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
gte::Fluid3InitializeSource Class Reference

#include <GteFluid3InitializeSource.h>

Classes

struct  External
 
struct  Vortex
 

Public Member Functions

void Execute (std::shared_ptr< GraphicsEngine > const &engine)
 
 Fluid3InitializeSource (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 & GetSource () const
 

Private Types

enum  { NUM_VORTICES = 1024 }
 

Private Attributes

std::shared_ptr< ConstantBuffermExternal
 
std::shared_ptr< ComputeProgrammGenerateVortex
 
std::shared_ptr< ComputeProgrammInitializeSource
 
int mNumXGroups
 
int mNumYGroups
 
int mNumZGroups
 
std::shared_ptr< Texture3mSource
 
std::shared_ptr< Texture3mVelocity0
 
std::shared_ptr< Texture3mVelocity1
 
std::shared_ptr< ConstantBuffermVortex
 

Static Private Attributes

static std::string const * msGenerateSource [ProgramFactory::PF_NUM_API]
 
static std::string const msGLSLGenerateSource
 
static std::string const msGLSLInitializeSource
 
static std::string const msHLSLGenerateSource
 
static std::string const msHLSLInitializeSource
 
static std::string const * msInitializeSource [ProgramFactory::PF_NUM_API]
 

Detailed Description

Definition at line 20 of file GteFluid3InitializeSource.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
NUM_VORTICES 

Definition at line 42 of file GteFluid3InitializeSource.h.

Constructor & Destructor Documentation

Fluid3InitializeSource::Fluid3InitializeSource ( 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 15 of file GteFluid3InitializeSource.cpp.

Member Function Documentation

void Fluid3InitializeSource::Execute ( std::shared_ptr< GraphicsEngine > const &  engine)

Definition at line 73 of file GteFluid3InitializeSource.cpp.

std::shared_ptr< Texture3 > const & gte::Fluid3InitializeSource::GetSource ( ) const
inline

Definition at line 79 of file GteFluid3InitializeSource.h.

Member Data Documentation

std::shared_ptr<ConstantBuffer> gte::Fluid3InitializeSource::mExternal
private

Definition at line 65 of file GteFluid3InitializeSource.h.

std::shared_ptr<ComputeProgram> gte::Fluid3InitializeSource::mGenerateVortex
private

Definition at line 62 of file GteFluid3InitializeSource.h.

std::shared_ptr<ComputeProgram> gte::Fluid3InitializeSource::mInitializeSource
private

Definition at line 63 of file GteFluid3InitializeSource.h.

int gte::Fluid3InitializeSource::mNumXGroups
private

Definition at line 61 of file GteFluid3InitializeSource.h.

int gte::Fluid3InitializeSource::mNumYGroups
private

Definition at line 61 of file GteFluid3InitializeSource.h.

int gte::Fluid3InitializeSource::mNumZGroups
private

Definition at line 61 of file GteFluid3InitializeSource.h.

std::string const * Fluid3InitializeSource::msGenerateSource
staticprivate
Initial value:

Definition at line 75 of file GteFluid3InitializeSource.h.

std::string const Fluid3InitializeSource::msGLSLGenerateSource
staticprivate

Definition at line 71 of file GteFluid3InitializeSource.h.

std::string const Fluid3InitializeSource::msGLSLInitializeSource
staticprivate

Definition at line 72 of file GteFluid3InitializeSource.h.

std::string const Fluid3InitializeSource::msHLSLGenerateSource
staticprivate

Definition at line 73 of file GteFluid3InitializeSource.h.

std::string const Fluid3InitializeSource::msHLSLInitializeSource
staticprivate

Definition at line 74 of file GteFluid3InitializeSource.h.

std::string const * Fluid3InitializeSource::msInitializeSource
staticprivate
Initial value:

Definition at line 76 of file GteFluid3InitializeSource.h.

std::shared_ptr<Texture3> gte::Fluid3InitializeSource::mSource
private

Definition at line 68 of file GteFluid3InitializeSource.h.

std::shared_ptr<Texture3> gte::Fluid3InitializeSource::mVelocity0
private

Definition at line 66 of file GteFluid3InitializeSource.h.

std::shared_ptr<Texture3> gte::Fluid3InitializeSource::mVelocity1
private

Definition at line 67 of file GteFluid3InitializeSource.h.

std::shared_ptr<ConstantBuffer> gte::Fluid3InitializeSource::mVortex
private

Definition at line 64 of file GteFluid3InitializeSource.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