bool IsFlagAvailable(unsigned flag) const;
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 |
Description |
unsigned flag |
The flag for the profiler. |
Returns true if a flag is available and false otherwise.