Method SetViewport
SetViewport(CommandBuffer, RTHandle)
Setup the viewport to the size of the provided RTHandle.
Declaration
public static void SetViewport(CommandBuffer cmd, RTHandle target)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | CommandBuffer used for rendering commands. |
RTHandle | target | RTHandle from which to compute the proper viewport. |