C# Class Shading.Imaging.BlendFragment

Inheritance: NewTOAPIA.Graphics.Processor.GPFragmentShader
Mostrar archivo Open project: Wiladams/NewTOAPIA

Public Properties

Property Type Description
BaseImage sampler2D
BlendImage sampler2D
FragColor vec4
Opacity float
TexCoord vec2

Protected Properties

Property Type Description
ColorOp ToLastType

Public Methods

Method Description
BlendFragment ( ) : System
BlendFragment ( ToLastType op ) : System
main ( ) : void

Protected Methods

Method Description
GetResult ( vec4 baseColor, vec4 blend ) : vec4

Method Details

BlendFragment() public method

public BlendFragment ( ) : System
return System

BlendFragment() public method

public BlendFragment ( ToLastType op ) : System
op ToLastType
return System

GetResult() protected method

protected GetResult ( vec4 baseColor, vec4 blend ) : vec4
baseColor vec4
blend vec4
return vec4

main() public method

public main ( ) : void
return void

Property Details

BaseImage public_oe property

public sampler2D BaseImage
return sampler2D

BlendImage public_oe property

public sampler2D BlendImage
return sampler2D

ColorOp protected_oe property

protected ToLastType ColorOp
return ToLastType

FragColor public_oe property

public vec4 FragColor
return vec4

Opacity public_oe property

public float Opacity
return float

TexCoord public_oe property

public vec2 TexCoord
return vec2