Method CreateTextureIfInvalid
CreateTextureIfInvalid(in TextureDesc, ref TextureHandle)
Create a new Render Graph Texture if the passed handle is invalid and use said handle as output. If the passed handle is valid, no texture is created.
Declaration
public void CreateTextureIfInvalid(in TextureDesc desc, ref TextureHandle texture)
Parameters
Type | Name | Description |
---|---|---|
TextureDesc | desc | Desc used to create the texture. |
TextureHandle | texture | Texture from which the descriptor should be used. |