C# Class PixelFarm.DrawingGL.Conv3x3TextureShader

Inheritance: SimpleRectTextureShader
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
Conv3x3TextureShader ( CanvasToShaderSharedResource canvasShareResource ) : OpenTK.Graphics.ES20
SetBitmapSize ( int w, int h ) : void
SetConvolutionKernel ( float kernels ) : void

Protected Methods

Method Description
OnProgramBuilt ( ) : void
OnSetVarsBeforeRenderer ( ) : void

Method Details

Conv3x3TextureShader() public method

public Conv3x3TextureShader ( CanvasToShaderSharedResource canvasShareResource ) : OpenTK.Graphics.ES20
canvasShareResource CanvasToShaderSharedResource
return OpenTK.Graphics.ES20

OnProgramBuilt() protected method

protected OnProgramBuilt ( ) : void
return void

OnSetVarsBeforeRenderer() protected method

protected OnSetVarsBeforeRenderer ( ) : void
return void

SetBitmapSize() public method

public SetBitmapSize ( int w, int h ) : void
w int
h int
return void

SetConvolutionKernel() public method

public SetConvolutionKernel ( float kernels ) : void
kernels float
return void