Navigation
API > API/Plugins > API/Plugins/AVCodecsCore
References
| Module | AVCodecsCore |
| Header | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/AVDevice.h |
| Include | #include "AVDevice.h" |
Syntax
class FAVDevice
Remarks
A representation of a physical computer device, be it a GPU or a CPU or an external device, that can hold device resource contexts (Vulkan, D3D, CUDA, etc).
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAVDevice () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FAVDevice () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< TContext > const & | GetContext () |
Get a typed context from this device, if it exists. | |
| TSharedRef< FAVDevice > & | GetHardwareDevice
(
int32 Index |
Get the global hardware device. | |
| TSharedRef< FAVDevice > & | Get the global software device. | ||
| bool | HasContext () |
Check if this device has a specific context. | |
| void | SetContext
(
TSharedPtr< TContext > const& NewContext |
Set a context by type on this device. |