Operator implicit operator
implicit operator RenderTargetIdentifier(TextureHandle)
Cast to RenderTargetIdentifier
Declaration
public static implicit operator RenderTargetIdentifier(TextureHandle texture)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureHandle | texture | Input TextureHandle. |
Returns
| Type | Description |
|---|---|
| RenderTargetIdentifier | Resource as a RenderTargetIdentifier. |
implicit operator Texture(TextureHandle)
Cast to Texture
Declaration
public static implicit operator Texture(TextureHandle texture)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureHandle | texture | Input TextureHandle. |
Returns
| Type | Description |
|---|---|
| Texture | Resource as a Texture. |
implicit operator RenderTexture(TextureHandle)
Cast to RenderTexture
Declaration
public static implicit operator RenderTexture(TextureHandle texture)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureHandle | texture | Input TextureHandle. |
Returns
| Type | Description |
|---|---|
| RenderTexture | Resource as a RenderTexture. |
implicit operator RTHandle(TextureHandle)
Cast to RTHandle
Declaration
public static implicit operator RTHandle(TextureHandle texture)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureHandle | texture | Input TextureHandle. |
Returns
| Type | Description |
|---|---|
| RTHandle | Resource as a RTHandle. |