Navigation
API > API/Plugins > API/Plugins/AVCodecsCore > API/Plugins/AVCodecsCore/FAVExtension > API/Plugins/AVCodecsCore/FAVExtension/IsCompatible
References
| Module | AVCodecsCore |
| Header | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/AVExtension.h |
| Include | #include "AVExtension.h" |
template<typename TContext, typename TOption>
static bool IsCompatible
(
TSharedPtr< class FAVDevice > const & Device
)
Remarks
Check if a type is compatible in a certain context, with a certain device. Very general use. Returns true by default, so specialize this to specifically disallow/test certain combinations rather than enable them.
Usage: TAVCoder factory for AVResource usage, ie. FAVExtension::IsCompatible
Parameters
| Name | Description |
|---|---|
| TContext | Context against which to check compatability. |
| TOption | Type to check for compatability. |
| Device | The device associated with the type. |