ID3DXPRTCompBuffer::GetNumChannels

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

UINT GetNumChannels();

Parameters

None.

Return Values

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.

Remarks

Requirements

Header: Declared in D3dx9mesh.h.