SupportsRenderRequest<RequestData>(Camera, RequestData)
Checks if the render pipeline supports the RequestData type with the camera.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SupportsRenderRequest<T>(Camera, T)
public static bool SupportsRenderRequest<RequestData>(Camera camera, RequestData data)
Parameters
The camera to verify if it supports this render request.
Returns
Type | Description |
|---|---|
| bool | |
Remarks
Call this method before RenderPipeline.SubmitRenderRequest to verify if the render pipeline supports the render request. By default returns unless the render pipeline implements RenderPipeline.IsRenderRequestSupported.
RequestDataSupportsRenderRequestfalseFor an example that uses , refer to RenderPipeline.SubmitRenderRequest.
SupportsRenderRequest