Share via


Caps.MaxActiveLights Property (Microsoft.DirectX.Direct3D)

Retrieves the maximum number of lights that can be active simultaneously.

Definition

Visual Basic Public ReadOnly Property MaxActiveLights As Integer
C# public int MaxActiveLights { get; }
C++ public:
property int MaxActiveLights {
        int get();
}
JScript public function get MaxActiveLights() : int

Property Value

System.Int32
An Int32Leave Site value that indicates the maximum number of lights that can be active simultaneously.

This property is read-only. 

Remarks

For a given physical device, this capability might vary across Device objects, depending on the parameters supplied to the Device constructor.