struct
FormatCapabilitiesRepresents the set of capabilities supported by a device for a particular format.
Constructors, destructors, conversion operators
-
FormatCapabilities(FormatUsageMask usageMask = FormatUsageMask::
None(), FormatFeatureMask featureMask = FormatFeatureMask:: None()) constexpr
Public functions
- auto isSubsetOf(const FormatCapabilities& other) const -> bool constexpr
- Returns
true
if this describes a subset of the capabilities ofother
. - auto isSupersetOf(const FormatCapabilities& other) const -> bool constexpr
- Returns
true
if this describes a superset of the capabilities ofother
.
Public variables
- FormatFeatureMask featureMask
- The set of features that are supported for a format.
- FormatUsageMask usageMask
- The set of usages that are supported for a format.
Function documentation
tp:: FormatCapabilities:: FormatCapabilities(FormatUsageMask usageMask = FormatUsageMask:: None(),
FormatFeatureMask featureMask = FormatFeatureMask:: None()) constexpr
Parameters | |
---|---|
usageMask | The usage mask of the capabilities. |
featureMask | The feature mask of the capabilities. |