Skip to main content

rhi.Metal.ResourcePurgeOnDelete

Var

Unreal Engine Var console variable.

rhiMetalResourcePurgeOnDelete

Description

Debug option: when enabled all MTLResource objects will have their backing stores purged on release - any subsequent access will be invalid and cause a command-buffer failure. Useful for making intermittent resource lifetime errors more common and easier to track. (Default: 0, Off)

Usage

rhi.Metal.ResourcePurgeOnDelete [value]

Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.