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


Manual Reference Pages  -  EZ_LIGHTFV (3)

NAME

EZ_Lightf, EZ_Lightfv - set light source parameters

CONTENTS

Synopsis
Arguments
Description

SYNOPSIS


#include <EZ.h> 

void EZ_Lightf(int num, int attr, float values)

void EZ_Lightfv(int num, int attr, float *pvalues)

ARGUMENTS

num Specifies a light source. Must be an integer between 0 and 7.

attr Specifies which attribute is being updated. Must be one of EZ_EMISSION, EZ_AMBIENT, EZ_DIFFUSE, EZ_SPECULAR, EZ_SPOT_DIRECTION, EZ_POSITION, EZ_SPOT_EXPONENT, EZ_SPOT_CUTOFF, EZ_CONSTANT_ATTENUATION, EZ_LINEAR_ATTENUATION, EZ_QUADRATIC_ATTENUATION.

values Specifies the values for the specified attr.

pvalues Specifies the values for the specified attr in an array of floats.

DESCRIPTION

EZ_Lightf/EZ_Lightfv sets values for light properties.

If attr is one of EZ_EMISSION, EZ_AMBIENT, EZ_DIFFUSE, EZ_SPECULAR, EZ_SPOT_DIRECTION or EZ_POSITION, values should consist of 4 floats and pvalues should be an array of 4 floats, with each in interval [0.0, 1.0].

If attr is one of EZ_SPOT_EXPONENT, EZ_SPOT_CUTOFF, EZ_CONSTANT_ATTENUATION, EZ_LINEAR_ATTENUATION, EZ_QUADRATIC_ATTENUATION, values should be a single float point number.

SEE ALSO

EZ_Color3f(3), EZ_Normal3f(3), EZ_Vertex3f(3), EZ_Materialf(3), EZ_DefineLightSrc(3)

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


EZWGL EZ_LIGHTF (3)

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