Namespace: Rx – Class: CRxImageFormat – Header: Rx.Core.Ex/RxImageFormat.h

CRxImageFormat::IsOfType Method

C++
template<typename TPix>
bool IsOfType()

Test whether format is of particular pixel type.

This function uses the static function IsOfType() of the pixel types to check whether the given template parameter pixel type matches the pixel and data types of this instance.

Template Parameters

TPix

The pixel type.

Returns

bool

True if this image format is of the given pixel type, false if not.