Barotrauma Client Doc
Barotrauma.BlurEffect Class Reference

Public Member Functions

 BlurEffect (Effect effect, float dx, float dy)
 
void SetParameters (float dx, float dy)
 Computes sample weightings and texture coordinate offsets for one pass of a separable gaussian blur filter. More...
 

Public Attributes

readonly Effect Effect
 

Detailed Description

Definition at line 7 of file BlurEffect.cs.

Constructor & Destructor Documentation

◆ BlurEffect()

Barotrauma.BlurEffect.BlurEffect ( Effect  effect,
float  dx,
float  dy 
)

Definition at line 11 of file BlurEffect.cs.

Member Function Documentation

◆ SetParameters()

void Barotrauma.BlurEffect.SetParameters ( float  dx,
float  dy 
)

Computes sample weightings and texture coordinate offsets for one pass of a separable gaussian blur filter.

Definition at line 23 of file BlurEffect.cs.

Member Data Documentation

◆ Effect

readonly Effect Barotrauma.BlurEffect.Effect

Definition at line 9 of file BlurEffect.cs.