Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
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
Datei anzeigen
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