Method BlitTexture
BlitTexture(CommandBuffer, RTHandle, Vector4, float, bool)
Blit a RTHandle texture.
Declaration
public static void BlitTexture(CommandBuffer cmd, RTHandle source, Vector4 scaleBias, float mipLevel, bool bilinear)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Command Buffer used for rendering. |
RTHandle | source | Source RTHandle. |
Vector4 | scaleBias | Scale and bias for sampling the input texture. |
float | mipLevel | Mip level to blit. |
bool | bilinear | Enable bilinear filtering. |