Eulerian Smoke Simulation on the GPU
|
An impulse application kernel. More...
Functions | |
__kernel void | applyImpulse (__global float4 *o_temperatureW, __global float4 *o_densityW, float _splatRadius, float4 _impulsePosition, float _impulseDensity, float _impulseTemperature) |
An impulse application kernel. |
An impulse application kernel.
__kernel void applyImpulse | ( | __global float4 * | o_temperatureW, |
__global float4 * | o_densityW, | ||
float | _splatRadius, | ||
float4 | _impulsePosition, | ||
float | _impulseDensity, | ||
float | _impulseTemperature | ||
) |
An impulse application kernel.
[in,out] | o_temperatureW | the temperature field [write buffer] |
[in] | o_densityW | the density field [write buffer] |
[in] | _splatRadius | the impulse splat radius |
[in] | _impulsePosition | the impulse's position |
[in] | _impulseDensity | the impulse density amount |
[in] | _impulseTemperature | the impulse temperature |