This function returns the maximum number of light sources that can be used for the view.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_view_get_max_lights(
HIG_VECT_VIEW hView,
long* lpMaxLights
);
|
Name | Type | Description |
---|---|---|
hView | HIG_VECT_VIEW | Handle to the view. |
lpMaxLights | long* | Pointer to a variable which will receive the maximum number of light sources. |
This function does not process image pixels.
Vector
Usually, the maximum number of light sources is 8. However, this value may be less depending on the OpenGL or Direct3D capabilities. ImageGear supports up to 8 light sources per View.
See IG_vect_view_lighting_enable for additional information.