public static Color4F Saturate(ref Color4F value) { return new Color4F( Saturate(value.R), Saturate(value.G), Saturate(value.B), 1); }
public static Color4F Multiply(ref Color4F left, float right) { return new Color4F( left.R * right, left.G * right, left.B * right, left.A * right); }
public static Color4F Multiply(ref Color4F left, ref Color4F right) { return new Color4F( left.R * right.R, left.G * right.G, left.B * right.B, left.A * right.A); }
public VertexPositionColorTexture(Vector3 position, Color4F color, Vector2 textureCoordinate) { Position = position; Color = color; TextureCoordinate = textureCoordinate; }
public VertexPositionColor(Vector3 position, Color4F color) { Position = position; Color = color; }
public static Color4F Invert(ref Color4F value) { return new Color4F(1 - value.A, 1 - value.R, 1 - value.G, 1 - value.B); }
public static Color4F Invert(ref Color4F value) { return(new Color4F(1 - value.A, 1 - value.R, 1 - value.G, 1 - value.B)); }