Public Member Functions

void Filter (int width, int height, Color[] srcAndTarget, Color[] buffer)
 

Static Public Member Functions

static void BlurAndTranspose (Color[] src, Color[] target, int width, int height, int radius)
 Does a horizontal blur, writing the result in a transposed set. The transpose simply means the function can be used twice in order to get horizontal and vertical. More...
 

Public Attributes

int HRadius =10
 Set the radius of the kernel, and hence the amount of blur. More...
 
int VRadius =10
 
int Iterations = 1
 

Member Function Documentation

static void Loonim.BoxBlurFilter.BlurAndTranspose ( Color[]  src,
Color[]  target,
int  width,
int  height,
int  radius 
)
inlinestatic

Does a horizontal blur, writing the result in a transposed set. The transpose simply means the function can be used twice in order to get horizontal and vertical.

void Loonim.BoxBlurFilter.Filter ( int  width,
int  height,
Color[]  srcAndTarget,
Color[]  buffer 
)
inline

Member Data Documentation

int Loonim.BoxBlurFilter.HRadius =10

Set the radius of the kernel, and hence the amount of blur.

int Loonim.BoxBlurFilter.Iterations = 1
int Loonim.BoxBlurFilter.VRadius =10