Constructor RenderTextureWrapper
RenderTextureWrapper(RenderTexture, Action<RenderTexture>)
Constructor for RenderTextureWrapper
Declaration
public RenderTextureWrapper(RenderTexture renderTexture, Action<RenderTexture> onReCreated)
Parameters
Type | Name | Description |
---|---|---|
RenderTexture | renderTexture | RenderTexture to be wrapped |
Action<RenderTexture> | onReCreated | Callback when target RenderTexture be re created. |