Skip to content

Documentation / scene / FrameResourceRequirements

Interface: FrameResourceRequirements ​

Defined in: libs/scene/src/render/rendergraph/frame_resource_requirements.ts:2

Frame resources requested before Forward+ module setup.

Properties ​

motionVector? ​

optional motionVector?: boolean

Defined in: libs/scene/src/render/rendergraph/frame_resource_requirements.ts:3


hiZ? ​

optional hiZ?: boolean

Defined in: libs/scene/src/render/rendergraph/frame_resource_requirements.ts:4


hiZNearest? ​

optional hiZNearest?: boolean

Defined in: libs/scene/src/render/rendergraph/frame_resource_requirements.ts:12

The Hi-Z pyramid's nearest-depth channel, for proximity queries.

Implies FrameResourceRequirements.hiZ - it is a second channel of the same pyramid, not a separate resource - and costs that pyramid's bandwidth twice over, so it is requested separately from it.


sceneNormal? ​

optional sceneNormal?: boolean

Defined in: libs/scene/src/render/rendergraph/frame_resource_requirements.ts:13


sceneRoughness? ​

optional sceneRoughness?: boolean

Defined in: libs/scene/src/render/rendergraph/frame_resource_requirements.ts:14


shadowMask? ​

optional shadowMask?: boolean

Defined in: libs/scene/src/render/rendergraph/frame_resource_requirements.ts:15

Released under the MIT License.