Method BlitFullscreenTriangleFromTexArray
BlitFullscreenTriangleFromTexArray(CommandBuffer, RenderTargetIdentifier, RenderTargetIdentifier, PropertySheet, int, bool, int)
Blits a fullscreen triangle using a given material.
Declaration
public static void BlitFullscreenTriangleFromTexArray(this CommandBuffer cmd, RenderTargetIdentifier source, RenderTargetIdentifier destination, PropertySheet propertySheet, int pass, bool clear = false, int depthSlice = -1)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | The command buffer to use |
RenderTargetIdentifier | source | The source texture array |
RenderTargetIdentifier | destination | The destination render target |
PropertySheet | propertySheet | The property sheet to use |
int | pass | The pass from the material to use |
bool | clear | Should the destination target be cleared? |
int | depthSlice | The slice to use for the texture array |