FLimenPSOCompiler
Overview
The FLimenPSOCompiler class is a singleton that controls the batching of shader pipeline operations. It provides methods to start and stop batching, as well as check if batching is currently running. The class uses an enumeration EContext to determine the context in which batching should operate, affecting the batch mode accordingly.
Properties
Type | Name | Access | Description |
|---|---|---|---|
enum class EContext | Context | Public | Determines the context in which batching should operate. Possible values are LoadingScreen, UI, and InGame. |
Functions
Return Type | Signature | Description |
|---|---|---|
|
| Returns a pointer to the singleton instance of |
|
| Starts batching based on the provided context. Adjusts batch mode accordingly. |
|
| Stops any ongoing batching operation. |
|
| Checks if batching is currently running and returns a boolean value. |
Usage & Implementation Notes
The class uses a singleton pattern to ensure that only one instance of
FLimenPSOCompilerexists throughout the application.Batching modes are controlled by the
FShaderPipelineCacheclass, which manages the actual batching logic.The
StartBatchingmethod adjusts the batch mode based on the context provided (LoadingScreen,UI, orInGame).