ドキュメント

Unity Engine

Unity Engine

IsRenderRequestSupported<RequestData>(Camera, RequestData)

Implement this method in a custom Scriptable Render Pipeline (SRP) to specify if a particular combination of camera and render request is supported.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

IsRenderRequestSupported<T>(Camera, T)

protected virtual bool IsRenderRequestSupported<RequestData>(Camera camera, RequestData data)

Parameters

camera

The camera to verify if it supports this render request.

data

T
The render request to verify if the render pipeline supports it.

Returns

Type

Description

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

Remarks

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