Skip to content

Documentation / scene / RGResourceLifetime

Interface: RGResourceLifetime

Defined in: libs/scene/src/render/rendergraph/types.ts:231

Compiled resource lifetime.

Properties

resource

readonly resource: RGResource

Defined in: libs/scene/src/render/rendergraph/types.ts:233

The resource.


firstUse

readonly firstUse: number

Defined in: libs/scene/src/render/rendergraph/types.ts:235

Index of the first pass that uses (produces or reads) this resource.


lastUse

readonly lastUse: number

Defined in: libs/scene/src/render/rendergraph/types.ts:237

Index of the last pass that uses this resource.

Released under the MIT License.