Method ImportTexture
ImportTexture(RTHandle)
Import an external texture to the Render Graph. Any pass writing to an imported texture will be considered having side effects and can't be automatically culled.
Declaration
public TextureHandle ImportTexture(RTHandle rt)
Parameters
Type | Name | Description |
---|---|---|
RTHandle | rt | External RTHandle that needs to be imported. |
Returns
Type | Description |
---|---|
TextureHandle | A new TextureHandle. |