#include <GteFluid3SolvePoisson.h>
Definition at line 20 of file GteFluid3SolvePoisson.h.
Fluid3SolvePoisson::Fluid3SolvePoisson |
( |
std::shared_ptr< ProgramFactory > const & |
factory, |
|
|
int |
xSize, |
|
|
int |
ySize, |
|
|
int |
zSize, |
|
|
int |
numXThreads, |
|
|
int |
numYThreads, |
|
|
int |
numZThreads, |
|
|
std::shared_ptr< ConstantBuffer > const & |
parameters, |
|
|
int |
numIterations |
|
) |
| |
void Fluid3SolvePoisson::Execute |
( |
std::shared_ptr< GraphicsEngine > const & |
engine, |
|
|
std::shared_ptr< Texture3 > const & |
divergence |
|
) |
| |
std::shared_ptr< Texture3 > const & gte::Fluid3SolvePoisson::GetPoisson |
( |
| ) |
const |
|
inline |
int gte::Fluid3SolvePoisson::mNumIterations |
|
private |
int gte::Fluid3SolvePoisson::mNumXGroups |
|
private |
int gte::Fluid3SolvePoisson::mNumYGroups |
|
private |
int gte::Fluid3SolvePoisson::mNumZGroups |
|
private |
std::shared_ptr<Texture3> gte::Fluid3SolvePoisson::mPoisson0 |
|
private |
std::shared_ptr<Texture3> gte::Fluid3SolvePoisson::mPoisson1 |
|
private |
std::string const * Fluid3SolvePoisson::msEnforceSource |
|
staticprivate |
std::string const Fluid3SolvePoisson::msGLSLEnforceSource |
|
staticprivate |
std::string const Fluid3SolvePoisson::msGLSLSolveSource |
|
staticprivate |
Initial value:=
"layout(r32f) uniform writeonly image3D poisson;\n"
"\n"
"layout (local_size_x = NUM_X_THREADS, local_size_y = NUM_Y_THREADS, local_size_z = NUM_Z_THREADS) in;\n"
"void main()\n"
"{\n"
" ivec3 c = ivec3(gl_GlobalInvocationID.xyz);\n"
" imageStore(poisson, c, vec4(0.0f, 0.0f, 0.0f, 0.0f));\n"
"}\n"
Definition at line 48 of file GteFluid3SolvePoisson.h.
std::string const Fluid3SolvePoisson::msHLSLEnforceSource |
|
staticprivate |
std::string const Fluid3SolvePoisson::msHLSLSolveSource |
|
staticprivate |
Initial value:=
"RWTexture3D<float> poisson;\n"
"\n"
"[numthreads(NUM_X_THREADS, NUM_Y_THREADS, NUM_Z_THREADS)]\n"
"void CSMain(uint3 c : SV_DispatchThreadID)\n"
"{\n"
" poisson[c.xyz] = 0.0f;\n"
"}\n"
Definition at line 51 of file GteFluid3SolvePoisson.h.
std::shared_ptr<ComputeProgram> gte::Fluid3SolvePoisson::mSolvePoisson |
|
private |
The documentation for this class was generated from the following files: