C# Class PixelFarm.DrawingGL.ShaderBase

ファイルを表示 Open project: prepare/HTML-Renderer

Protected Properties

Property Type Description
_canvasShareResource CanvasToShaderSharedResource
shaderProgram OpenTK.Graphics.ES20.MiniShaderProgram

Public Methods

Method Description
ShaderBase ( CanvasToShaderSharedResource canvasShareResource ) : OpenTK.Graphics.ES20

Protected Methods

Method Description
OnSwithToThisShader ( ) : void
SetCurrent ( ) : void

set as current shader

Method Details

OnSwithToThisShader() protected method

protected OnSwithToThisShader ( ) : void
return void

SetCurrent() protected method

set as current shader
protected SetCurrent ( ) : void
return void

ShaderBase() public method

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

Property Details

_canvasShareResource protected_oe property

protected CanvasToShaderSharedResource,PixelFarm.DrawingGL _canvasShareResource
return CanvasToShaderSharedResource

shaderProgram protected_oe property

protected MiniShaderProgram,OpenTK.Graphics.ES20 shaderProgram
return OpenTK.Graphics.ES20.MiniShaderProgram