Interface ITextModeCRTHDRDisplaySource
Reports what the HDR display shows for a camera, for HDR mask mode.
Namespace: Scylla.TextMode.CRT
Assembly: ScyllaTextMode.CRT.dll
Syntax
public interface ITextModeCRTHDRDisplaySource
Remarks
A render pipeline can know more than the engine does, for example a paper white that a tonemapping override replaces, so a pipeline package registers its own source through Register(ITextModeCRTHDRDisplaySource). Without one, the engine's HDR output settings are used.
The URP and HDRP packages of the TextMode CRT each register a source while their render pipeline is the active one and remove it again when it is not.
Methods
TryGetDisplay(Camera, out CRTHDRDisplay)
Returns what the display shows for a camera.
Declaration
bool TryGetDisplay(Camera camera, out CRTHDRDisplay display)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera | The camera that draws the picture, or null when it is not known. |
| CRTHDRDisplay | display | What the display reports. Only meaningful when the method returns true. |
Returns
| Type | Description |
|---|---|
| bool | True if the source could answer; false to fall back to the engine's settings. |