Microsoft DirectX 9.0 SDK Update (October 2004)

PrtBuffer.NumberChannels Property

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public ReadOnly Property NumberChannels As Integer
C# public int NumberChannels { get; }
Managed C++ public: __property int get_NumberChannels();
JScript .NET 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. 

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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