Operator implicit operator
implicit operator RenderTexture(GraphRenderTexture)
Returns the wrapped Unity render texture.
public static implicit operator RenderTexture(GraphRenderTexture graphRT)
Parameters
graphRTGraphRenderTextureThe graph wrapper to unwrap.
Returns
implicit operator GraphRenderTexture(RenderTexture)
Wraps an existing Unity render texture in a graph render-texture wrapper.
public static implicit operator GraphRenderTexture(RenderTexture rt)
Parameters
rtRenderTextureThe Unity render texture to wrap.
Returns
- GraphRenderTexture
A wrapper whose identifier is initialized from UnityEngine.Object.name, or null when
rtis null.
Remarks
This conversion does not duplicate the texture; the wrapper simply points at the existing Unity object.