d3d9.dllGetNumChannels
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXPRTBuffer::GetNumChannels Method


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

Syntax

UINT GetNumChannels(VOID);

Return Value

Returns 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.





© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.