Limen Framework 0.1 Help

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

FLimenPSOCompiler*

Get()

Returns a pointer to the singleton instance of FLimenPSOCompiler.

void

StartBatching(const EContext InContext)

Starts batching based on the provided context. Adjusts batch mode accordingly.

void

StopBatching()

Stops any ongoing batching operation.

bool

IsBatchingRunning()

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 FLimenPSOCompiler exists throughout the application.

  • Batching modes are controlled by the FShaderPipelineCache class, which manages the actual batching logic.

  • The StartBatching method adjusts the batch mode based on the context provided (LoadingScreen, UI, or InGame).

22 May 2026