Renderer · function
interfaceGrade
The code an interface draws with, given the pass's: the screen encode wherever the pass grades at all, and nothing where it does not. Never a curve, so never an exposure either: a screen-space caption, a panel or a 2D layer keeps the colour it was picked as whatever the scene is graded by.
Explained in Hello world.
function interfaceGrade(passCode: number): numberimport { interfaceGrade } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
passCode | number |