IMPCDI

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MPCDI

Header

/Engine/Plugins/Runtime/nDisplay/Source/MPCDI/Public/IMPCDI.h

Include

#include "IMPCDI.h"

Syntax

class IMPCDI : public IModuleInterface

Functions

Name Description

Public function

bool

 

ApplyWarpBlend

(
    FRHICommandListImmediate& RHICmdLi...,
    IMPCDI::FTextureWarpData& TextureW...,
    IMPCDI::FShaderInputData& ShaderIn...
)

Applies warp&blend changes

Public function

bool

 

ComputeFrustum

(
    const IMPCDI::FRegionLocator& Regi...,
    float WorldScale,
    float ZNear,
    float ZFar,
    IMPCDI::FFrustum& InOutFrustum
)

Computes view frustum

Public function

bool

 

CreateCustomRegion

(
    const FString& MPCDIFile,
    const FString& BufferName,
    const FString& RegionName,
    IMPCDI::FRegionLocator& OutRegionL...
)

Support ext warp&blend calibration files.

Public function Static

IMPCDI &

 

Get()

Singleton-like access to this module's interface.

Public function

TSharedPtr< ...

 

GetMPCDIData

(
    IMPCDI::FShaderInputData& ShaderIn...
)

Return MPCDI data for custum warpblend shader

Public function

bool

 

GetRegionLocator

(
    const FString& MPCDIFile,
    const FString& BufferName,
    const FString& RegionName,
    IMPCDI::FRegionLocator& OutRegionL...
)

Returns region locator

Public function Static

bool

 

IsAvailable()

Checks to see if this module is loaded and ready.

Public function

bool

 

IsLoaded

(
    const FString& MPCDIFile
)

Checks if specified MPCDI file has been loaded already

Public function

bool

 

Load

(
    const FString& MPCDIFile
)

Loads an MPCDI file to the cache

Public function

bool

 

Load

(
    const ConfigParser& CfgData,
    IMPCDI::FRegionLocator& OutRegionL...
)

  1. Load or create mpcdi data

Public function

bool

 

LoadAlphaMap

(
    const IMPCDI::FRegionLocator& InRe...,
    const FString& PNGFile,
    float GammaValue
)

Load alpha map from external PNG file

Public function

bool

 

LoadBetaMap

(
    const IMPCDI::FRegionLocator& InRe...,
    const FString& PNGFile
)

Load beta map from external PNG file

Public function

bool

 

LoadConfig

(
    const FString& InConfigLineStr,
    ConfigParser& OutCfgData
)

  1. Load config data from string

Public function

bool

 

LoadPFM

(
    const IMPCDI::FRegionLocator& InRe...,
    const FString& PFMFile,
    const float WorldScale,
    bool bIsUnrealGameSpace
)

Load warp map data from external PFM file, used custom scale and axis orientation (by default asis in mpcdi orientation)

Public function

bool

 

LoadPFMGeometry

(
    const IMPCDI::FRegionLocator& InRe...,
    const TArray< FVector >& PFMPoints,
    int DimW,
    int DimH,
    const float WorldScale,
    bool bIsUnrealGameSpace
)

Load warp map data from array, used custom scale and axis orientation (by default asis in mpcdi orientation)

Public function

void

 

ReloadAll()

  1. Reload all data from changed external files

Public function

void

 

ReloadAll_RenderThread()

Public function

bool

 

SetMPCDIProfileType

(
    const IMPCDI::FRegionLocator& InRe...,
    const EMPCDIProfileType ProfileType
)

Change mpcdi profile type for custom warpblend (for owned mpcdi file)

Public function

bool

 

SetStaticMeshWarp

(
    const IMPCDI::FRegionLocator& InRe...,
    UStaticMeshComponent* MeshComp...,
    USceneComponent* OriginCompone...
)

Use StaticMesh to warp

Classes

Enums

Name

Description

Public enum

EMPCDIProfileType

Constants

Name

Description

ModuleName

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss