Example #1
0
 /// <summary>
 /// Sets the current color
 /// </summary>
 public virtual void Set_Color(ReadOnlyColor color)
 {
     Stack.Set_Color(new Color(color), false);
     Finalize_Color();
 }
Example #2
0
 /// <summary>
 /// Uploads the final, blended, color value to whatever system is doing the rendering, be it DirectX, OpenGL, Vulkan, D3D, etc.
 /// </summary>
 public abstract void Upload_Color(ReadOnlyColor color);
Example #3
0
 /// <summary>
 /// Sets the value of the latest tint color value in the blending stack.
 /// The 'tint' color refers to the color which the base color multiplies against itsself to obtain the final color value to be used when rendering verticies.
 /// </summary>
 /// <param name="color">The tint color to multiply the base color by.</param>
 public virtual void Set_Blending_Color(ReadOnlyColor color)
 {
     Stack.Set_Blend(color);
     Finalize_Color();
 }