Navigation
API > API/Plugins > API/Plugins/AVCodecsCore > API/Plugins/AVCodecsCore/TAVCoder_TDomain_void_void
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< TDomain< TResource, TConfig > > CreateChecked
(
TSharedRef< FAVDevice > const& NewDevice, |
Create a type-safe coder, open and ready for use. | AVCoder.h | |
static TSharedRef< TDomain< TResource, TConfig > > CreateChecked
(
TSharedRef< FAVDevice > const& NewDevice, |
Create a type-safe coder, open and ready for use. | AVCoder.h |
CreateChecked(TSharedRef< FAVDevice > const &, TConfig const &)
Description
Create a type-safe coder, open and ready for use.
| Name | CreateChecked |
| Type | function |
| Header File | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/AVCoder.h |
| Include Path | #include "AVCoder.h" |
template<typename TResource, typename TConfig>
static TSharedRef < TDomain< TResource, TConfig > > CreateChecked
(
TSharedRef < FAVDevice > const & NewDevice,
TConfig const & NewConfig
)
The constructed and opened coder. Throws an exception if one could not be created.
Parameters
| Name | Remarks |
|---|---|
| TResource | Type of AVResource the coder will support. |
| TConfig | Type of AVConfig the coder will support. |
| NewDevice | Device to filter the coder against, and to open it with. |
| NewConfig | Config to filter the coder against, and to open it with. |
CreateChecked(TSharedRef< FAVDevice > const &, TSharedRef< FAVInstance > const &)
Description
Create a type-safe coder, open and ready for use. NOTE: This is for advanced use cases only (ie. sharing an instance between multiple coders). Prefer the above version of this function if possible.
| Name | CreateChecked |
| Type | function |
| Header File | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/AVCoder.h |
| Include Path | #include "AVCoder.h" |
template<typename TResource, typename TConfig>
static TSharedRef < TDomain< TResource, TConfig > > CreateChecked
(
TSharedRef < FAVDevice > const & NewDevice,
TSharedRef < FAVInstance > const & NewInstance
)
The constructed and opened coder. Throws an exception if one could not be created.
Parameters
| Name | Remarks |
|---|---|
| TResource | Type of AVResource the coder will support. |
| TConfig | Type of AVConfig the coder will support. |
| NewDevice | Device to filter the coder against, and to open it with. |
| NewInstance | Instance to filter the coder against, and to open it with. |