Share via


PrtBuffer.NumberChannels Property (Microsoft.DirectX.Direct3D)

Retrieves the number of color channels used in memory to store samples.

Definition

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

Property Value

System.Int32
An integer that represents the number of color channels used in memory to store samples. The value generally will be either 1 to represent luminance values, or 3 to represent RGB values.

This property is read-only.