PrtBuffer.NumberChannels Property

Language:

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. 

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center