Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Trigrad
ColorGraders
AverageGrader
C# Class Trigrad.ColorGraders.AverageGrader
Color grader that fills the triangle with an average of the three vertice samples.
Inheritance:
IGrader
Mostra file
Open project: ruarai/Trigrad
Public Methods
Method
Description
Grade
(
Sample
u
,
Sample
v
,
Sample
w
,
DrawPoint
p
) :
Pixel
Produces a color from the specified coordinates and colors.
Method Details
Grade()
public
method
Produces a color from the specified coordinates and colors.
public
Grade
(
Sample
u
,
Sample
v
,
Sample
w
,
DrawPoint
p
) :
Pixel
u
Trigrad.DataTypes.Sample
v
Trigrad.DataTypes.Sample
w
Trigrad.DataTypes.Sample
p
DrawPoint
return
Pixel