ProfileViews::IsFlagAvailable

ProfileViews::IsFlagAvailable
bool IsFlagAvailable(unsigned flag) const;
Description

IsFlagAvailabe determine whether a flag is available (it can be achieved correctly by the current renderer). 

Before InitHAL is called, the Profiler (from Render::HAL::GetProfiler) reports that no modes or flags are available.

Parameters
Parameters 
Description 
unsigned flag 
The flag for the profiler. 
Return Value

Returns true if a flag is available and false otherwise.