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
Properties
pass
readonlypass:string
Defined in: src/gfx/renderJob/graph/GraphValidator.ts:74
resource
readonlyresource:string
Defined in: src/gfx/renderJob/graph/GraphValidator.ts:75
expected
readonlyexpected:string
Defined in: src/gfx/renderJob/graph/GraphValidator.ts:76
actual
readonlyactual:string
Defined in: src/gfx/renderJob/graph/GraphValidator.ts:77

