D3DLIGHTINGCAPS
The D3DLIGHTINGCAPS type describes the lighting capabilities of a device. This type is a member of the D3DDEVICEDESC7 type.
Type D3DLIGHTINGCAPS
lCaps As CONST_D3DLIGHTCAPSFLAGS
lLightingModel As CONST_D3DLIGHTINGMODELFLAGS
lNumLights As Long
End Type
Members
- lCaps
- Flags describing the capabilities of the lighting module. The following constants of the CONST_D3DLIGHTCAPSFLAGS enumeration are defined:
- D3DLIGHTCAPS_DIRECTIONAL
- Supports directional lights.
- D3DLIGHTCAPS_POINT
- Supports point lights.
- D3DLIGHTCAPS_SPOT
- Supports spotlights.
- lLightingModel
- Flags defining whether the lighting model is RGB or monochrome. The following constants of the CONST_D3DLIGHTINGMODELFLAGS enumeration are defined:
- D3DLIGHTINGMODEL_MONO
- Monochromatic lighting model.
- D3DLIGHTINGMODEL_RGB
- RGB lighting model.
- lNumLights
- Number of lights that can be handled.