Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ODSC
Inheritance Hierarchy
- FTSTickerObjectBase
- FODSCManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ODSC/ODSCManager.h |
| Include | #include "ODSC/ODSCManager.h" |
Syntax
class FODSCManager : public FTSTickerObjectBase
Remarks
Responsible for processing shader compile responses from the ODSC Thread. Interface for submitting shader compile requests to the ODSC Thread.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FODSCManager () |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddThreadedRequest
(
const TArray< FString >& MaterialsToCompile, |
Add a request to compile a shader. The results are submitted and processed in an async manner. | |
| void | AddThreadedShaderPipelineRequest
(
EShaderPlatform ShaderPlatform, |
||
| void | AddThreadedShaderPipelineRequest
(
EShaderPlatform ShaderPlatform, |
Add a request to compile a pipeline of shaders. | |
| bool | CheckIfRequestAlreadySent
(
const TArray< FShaderId >& RequestShaderIds, |
||
| FMaterialShaderMap * | FindMaterialShaderMap
(
const FString& MaterialName, |
||
| bool | Returns true if we would actually add a request when calling AddThreadedShaderPipelineRequest. | ||
| bool | IsODSCActive () |
||
| void | RegisterMaterialInstance
(
const UMaterialInstance* MI |
||
| void | RegisterMaterialShaderMaps
(
const FString& MaterialName, |
||
| void | ReportODSCError
(
const FString& InErrorMessage |
||
| void | |||
| void | |||
| void | SetCurrentPrimitiveSceneInfo
(
FPrimitiveSceneInfo* PrimitiveSceneInfo |
||
| bool | ShouldForceRecompile
(
const FMaterialShaderMap* MaterialShaderMap, |
||
| void | |||
| void | TryLoadGlobalShaders
(
EShaderPlatform ShaderPlatform |
||
| void | UnregisterMaterialInstance
(
const UMaterialInstance* MI |
||
| void | UnregisterMaterialName
(
const FMaterial* Material |