Свойство | Type | Description | |
---|---|---|---|
AdvectShader | Shader | ||
ApplyForceShader | Shader | ||
BufferSizeHeight | int | ||
BufferSizeWidth | int | ||
DivergenceShader | Shader | ||
IsLeftMouseButtonDown | bool | ||
PressureGradientSubstractShader | Shader | ||
PressureSolveShader | Shader | ||
UpdateDyeShader | Shader |
Méthode | Description | |
---|---|---|
GetFlowVelocityFieldTex ( ) : RenderTexture | ||
GetFluidTex ( ) : RenderTexture | ||
OnDestroy ( ) : void | ||
OnGUI ( ) : void | ||
Setup ( ) : void | ||
Start ( ) : void | ||
Step ( float dt_ ) : void | ||
Update ( ) : void | ||
_advect ( RenderTexture &targetBuffer_, float dt_ ) : void | ||
_applyForces ( float dt_ ) : void | ||
_computeDivergence ( ) : void | ||
_createBuffer ( RenderTexture &rt_, int bufferWidth_, int bufferHeight_ ) : void | ||
_createBuffers ( ) : void | ||
_createMaterial ( Material &mat_, Shader shader_ ) : void | ||
_createMaterials ( ) : void | ||
_destroyBuffer ( RenderTexture &buffer_ ) : void | ||
_destroyBuffers ( ) : void | ||
_destroyMaterial ( Material &mat_ ) : void | ||
_destroyMaterials ( ) : void | ||
_resetBuffer ( RenderTexture &rt_ ) : void | ||
_resetBuffers ( ) : void | ||
_solvePressure ( ) : void | ||
_subtractPressureGradient ( ) : void | ||
_swapBuffer ( RenderTexture buffer_ ) : void | ||
_updateDye ( float dt_ ) : void |
public GetFlowVelocityFieldTex ( ) : RenderTexture | ||
Résultat | RenderTexture |
public _advect ( RenderTexture &targetBuffer_, float dt_ ) : void | ||
targetBuffer_ | RenderTexture | |
dt_ | float | |
Résultat | void |
public _createBuffer ( RenderTexture &rt_, int bufferWidth_, int bufferHeight_ ) : void | ||
rt_ | RenderTexture | |
bufferWidth_ | int | |
bufferHeight_ | int | |
Résultat | void |
public _createMaterial ( Material &mat_, Shader shader_ ) : void | ||
mat_ | Material | |
shader_ | Shader | |
Résultat | void |
public _destroyBuffer ( RenderTexture &buffer_ ) : void | ||
buffer_ | RenderTexture | |
Résultat | void |
public _destroyMaterial ( Material &mat_ ) : void | ||
mat_ | Material | |
Résultat | void |
public _resetBuffer ( RenderTexture &rt_ ) : void | ||
rt_ | RenderTexture | |
Résultat | void |
public _subtractPressureGradient ( ) : void | ||
Résultat | void |
public _swapBuffer ( RenderTexture buffer_ ) : void | ||
buffer_ | RenderTexture | |
Résultat | void |
public Shader PressureGradientSubstractShader | ||
Résultat | Shader |