Skip to content

@orillusion/core


Class: GraphValidator ​

Defined in: src/gfx/renderJob/graph/GraphValidator.ts:113

Static graph invariants enforcer. Called by RenderGraph.compile; factored out so unit tests can exercise validation without GPU.

Constructors ​

Constructor ​

new GraphValidator(passes): GraphValidator

Defined in: src/gfx/renderJob/graph/GraphValidator.ts:124

Parameters ​

passes ​

readonly RenderGraphPass[]

Returns ​

GraphValidator

Methods ​

validateSingleCreator() ​

validateSingleCreator(): void

Defined in: src/gfx/renderJob/graph/GraphValidator.ts:149

Each name must have at most one creator. Mutator-only resources (no creator) are caught by validateResolvable.

Returns ​

void


validateResolvable() ​

validateResolvable(): void

Defined in: src/gfx/renderJob/graph/GraphValidator.ts:159

Every read and every mutator-write must point to a resource with a creator.

Returns ​

void