Skip to content

@orillusion/core


Class: WrongResourceKindError ​

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

Raised when a pass calls b.useRenderTarget('foo') (or any other kind-typed accessor) for a name whose pool entry is not the expected kind. Eagerly thrown by the builder at setup time so the stack trace points to the actual call site.

Extends ​

Constructors ​

Constructor ​

new WrongResourceKindError(pass, resource, expected, actual): WrongResourceKindError

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

Parameters ​

pass ​

string

resource ​

string

expected ​

string

actual ​

string

Returns ​

WrongResourceKindError

Overrides ​

GraphCompileError.constructor

Properties ​

pass ​

readonly pass: string

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


resource ​

readonly resource: string

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


expected ​

readonly expected: string

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


actual ​

readonly actual: string

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