Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Frame data in the render graph system in URP

Get the textures URP creates for the current frame and use them in your render passes.
Read time 1 minuteLast updated 21 days ago

Fetch the textures that the Universal Render Pipeline (URP) creates for the current frame or previous frames, for example a color texture or a depth texture.

Page

Description

Get data from the current frameFetch the textures URP creates for the current frame.
Get data from previous framesTo fetch the previous frames the camera rendered, use the
UniversalCameraData.historyManager
API.
Add textures to the camera historyTo add your own texture to the camera history, create a camera history type to store the texture between frames.
Get the current framebuffer from GPU memoryTo speed up rendering, use the
SetInputAttachment
API to read the frame that Unity has rendered so far.
Frame data textures referenceExplore the textures you can fetch from the current frame or previous frames.