RenderPipeline.IsRenderRequestSupported

Declaration

protected bool IsRenderRequestSupported(Camera camera, RequestData data);

Parameters

camera The camera to verify if it supports this render request.
data The render request to verify if the render pipeline supports it.

Returns

bool true if the combination of the camera and the render pipeline supports the RequestData type.

Description

Implement this method in a custom Scriptable Render Pipeline (SRP) to specify if a particular combination of camera and render request is supported.

In a custom Scriptable Render Pipeline (SRP), you need to implement this method to specify supported RequestData types. RenderPipeline.SupportsRenderRequest calls this method.

See also: RenderPipeline.SubmitRenderRequest, StandardRequest.


Did you find this page useful? Please give it a rating: