createFromColor

Creates a one-pixel texture of the given RGB color, and with the given presets.

Since

v2.0.0


Creates a one-pixel texture of the given RGBA color, and with the given presets.

Since

v2.0.0