Function isFeatureSupported

Synopsis

#include <Source/Falcor/Core/API/Device.h>

bool isFeatureSupported(SupportedFeatures flags) const

Description

Check if features are supported by the device

Source

Lines 153-156 in Source/Falcor/Core/API/Device.cpp. Line 164 in Source/Falcor/Core/API/Device.h.

bool Device::isFeatureSupported(SupportedFeatures flags) const
{
    return is_set(mSupportedFeatures, flags);
}





Add Discussion as Guest

Log in