Class AOVRequestBuilder
Utility to build frame passes.
Implements
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public class AOVRequestBuilder : IDisposable
Methods
Add(AOVRequest, AOVRequestBufferAllocator, List<GameObject>, AOVBuffers[], CustomPassAOVBuffers[], AOVRequestCustomPassBufferAllocator, FramePassCallbackEx)
Add a AOV request.
Declaration
public AOVRequestBuilder Add(AOVRequest settings, AOVRequestBufferAllocator bufferAllocator, List<GameObject> includedLightList, AOVBuffers[] aovBuffers, CustomPassAOVBuffers[] customPassAovBuffers, AOVRequestCustomPassBufferAllocator customPassbufferAllocator, FramePassCallbackEx callback)
Parameters
Type | Name | Description |
---|---|---|
AOVRequest | settings | Settings to use for this frame pass. |
AOVRequest |
bufferAllocator | An allocator for each buffer. |
List<Game |
includedLightList | If non null, only these lights will be rendered, if none, all lights will be rendered. |
AOVBuffers[] | aovBuffers | A list of buffers to use. |
Custom |
customPassAovBuffers | A list of custom passes to captured. |
AOVRequest |
customPassbufferAllocator | An allocator for each custom pass buffer. |
Frame |
callback | A callback that can use the requested buffers once the rendering has completed. |
Returns
Type | Description |
---|---|
AOVRequest |
Add(AOVRequest, AOVRequestBufferAllocator, List<GameObject>, AOVBuffers[], FramePassCallback)
Add a AOV request.
Declaration
public AOVRequestBuilder Add(AOVRequest settings, AOVRequestBufferAllocator bufferAllocator, List<GameObject> includedLightList, AOVBuffers[] aovBuffers, FramePassCallback callback)
Parameters
Type | Name | Description |
---|---|---|
AOVRequest | settings | Settings to use for this frame pass. |
AOVRequest |
bufferAllocator | An allocator for each buffer. |
List<Game |
includedLightList | If non null, only these lights will be rendered, if none, all lights will be rendered. |
AOVBuffers[] | aovBuffers | A list of buffers to use. |
Frame |
callback | A callback that can use the requested buffers once the rendering has completed. |
Returns
Type | Description |
---|---|
AOVRequest |
Build()
Build the frame passes. Allocated resources will be transferred to the returned value.
Declaration
public AOVRequestDataCollection Build()
Returns
Type | Description |
---|---|
AOVRequest |
The built collection. |
Dispose()
Dispose the builder.
This is required when you don't call Build().
Declaration
public void Dispose()