Operator implicit operator
implicit operator ComputeShader(ComputeShaderInstance)
Return the member shader which is a ComputeShader instance.
Declaration
public static implicit operator ComputeShader(ComputeShaderInstance shaderInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeShaderInstance | shaderInstance | The ComputeShaderInstance. |
Returns
| Type | Description |
|---|---|
| ComputeShader | The underlying ComputeShader. |