Navigation
API > API/Plugins > API/Plugins/GPUTextureTransfer
| Name | FGPUTextureTransferModule |
| Type | class |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/GPUTextureTransfer/Public/GPUTextureTransferModule.h |
| Include Path | #include "GPUTextureTransferModule.h" |
Syntax
class FGPUTextureTransferModule : public IModuleInterface
Implements Interfaces
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| RHI_MAX | uint8 | Max number of RHIs that GPUTextureTransfer supports. | GPUTextureTransferModule.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized | std::atomic< bool > | Tracks whether the dvp library and texture transfer objects were successfully created. | GPUTextureTransferModule.h | |
| CachedDriverInfo | FGPUDriverInfo | Cached information about the GPU Driver. | GPUTextureTransferModule.h | |
| TextureTransferHandle | void * | DVP DLL Handle. | GPUTextureTransferModule.h | |
| TransferObjects | TArray< UE::GPUTextureTransfer::TextureTransferPtr > | Texture transfer objects. | GPUTextureTransferModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UE::GPUTextureTransfer::TextureTransferPtr GetTextureTransfer() |
Get a texture transfer object that acts as a layer above the DVP library. | GPUTextureTransferModule.h | |
void Initialize() |
Load the DVP DLL and intialize the API.Note: This is a blocking call and could take upwards of 2s. | GPUTextureTransferModule.h | |
bool IsEnabled () |
Returns whether GPUDirect is enabled. | GPUTextureTransferModule.h | |
bool IsInitialized () |
Returns whether the DVP library was loaded and initialized. | GPUTextureTransferModule.h |
Overridden from IModuleInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ShutdownModule() |
GPUTextureTransferModule.h | ||
virtual void StartupModule() |
GPUTextureTransferModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGPUTextureTransferModule & Get() |
GPUTextureTransferModule.h | ||
static bool IsAvailable() |
GPUTextureTransferModule.h |