GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
EZ_Color3f(3) EZWGL Functions EZ_Color3f(3)

EZ_Color3f, EZ_Color3fv, EZ_Color4f, EZ_Color4fv - set the current RGB color

#include <EZ.h>
void EZ_Color3f(float r, float g, float b) void EZ_Color3fv(float *rgb) void EZ_Color4f(float r, float g, float b, float a) void EZ_Color4fv(float *rgba)

r,g,b Specifies RGB components, in range [0,1].
a Specifies the alpha component, in range [0,1]. This component is not used currently.
rgb Specify an array of 3 floats.
rgba Specify an array of 4 floats.
r_ret,g_ret,b_ret Specify the returns for the RGB components of a color.

All these functions update the current RGB color.

EZ_Index(3), EZ_MapColor(3)
 
EZWGL

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.