MakeColorKeyTexture() public méthode

Creates an 1bit alpha channel of the texture based on a color
public MakeColorKeyTexture ( Texture texture, Color color ) : void
texture Texture Input texture that will be modified
color Color Color
Résultat void
Exemple #1
0
 public void MakeColorKey(VideoDriver drv, Position2D colorKeyPixelPos)
 {
     drv.MakeColorKeyTexture(this, colorKeyPixelPos);
 }
Exemple #2
0
 public void MakeColorKey(VideoDriver drv, Color color)
 {
     drv.MakeColorKeyTexture(this, color);
 }
Exemple #3
0
 public void MakeColorKey(VideoDriver drv)
 {
     drv.MakeColorKeyTexture(this, new Position2D(0, 0));
 }