Navigation
API > API/Plugins > API/Plugins/AVCodecsCore
Inheritance Hierarchy
- FAVResource
- FAudioResource
- TAudioResource
- FAudioResourceCPU
- FVideoResource
- TVideoResource
- FVideoResourceCPU
- FVideoResourceCUDA
- FVideoResourceRHI
- FVideoResourceVulkan
References
| Module | AVCodecsCore |
| Header | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/AVResource.h |
| Include | #include "AVResource.h" |
Syntax
class FAVResource
Remarks
Base wrapper for an immutable device resource. Bundles necessary data that may not be easily retrieved on without an RHI, such as size on device. If the underlying device resource must change, this resource wrapper must be recreated.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAVResource
(
TSharedRef< FAVDevice > const& Device, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FAVResource () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< FAVDevice > const & | GetDevice () |
||
| FAVLayout const & | GetLayout () |
||
| uint64 | |||
| uint64 | GetOffset () |
||
| uint64 | GetStride () |
||
| void | Lock () |
Lock this resource for internal use. Is a blocking call until the lock can be taken. | |
| FScopeLock | LockScope () |
Lock this resource for internal use, within the current scope. | |
| TSharedPtr< TMapping > & | PinMapping () |
Create a mapping of this resource to another resource (or other object). | |
| void | Unlock () |
Release this resource for external use. | |
| FAVResult | Validate () |
Test if the underlying resource is usable or misconfigured. |