载入中...
搜索中...
未找到
FluidGpuKernels.h 文件参考

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::fluids
 GLSL compute kernels for the GPU surface-flow solver.
 

变量

const char * eve::fluids::kFluidClearGrid
 Zero the linked-list cell heads.
 
const char * eve::fluids::kFluidBuildGrid
 Insert every particle into its grid cell (linked list via atomicExchange).
 
const char * eve::fluids::kFluidDensityLambda
 Density, gradient sum and PBF lambda in one pass (mirror computeDensitiesAndGrads + computeLambdas).
 
const char * eve::fluids::kFluidComputeDelta
 Accumulate PBF position deltas into the (reused) grad buffer.
 
const char * eve::fluids::kFluidApplyDelta
 Apply PBF deltas and re-project onto the SDF surface.
 
const char * eve::fluids::kFluidIntegrate
 Viscosity + cohesion + adhesion + gravity + integration + SDF projection.