Method BlitTexture2D
BlitTexture2D(RasterCommandBuffer, RTHandle, Vector4, float, bool)
Blit a RTHandle texture 2D.
Declaration
public static void BlitTexture2D(RasterCommandBuffer cmd, RTHandle source, Vector4 scaleBias, float mipLevel, bool bilinear)
Parameters
| Type | Name | Description | 
|---|---|---|
| RasterCommandBuffer | 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.  | 
    
BlitTexture2D(CommandBuffer, RTHandle, Vector4, float, bool)
Declaration
public static void BlitTexture2D(CommandBuffer cmd, RTHandle source, Vector4 scaleBias, float mipLevel, bool bilinear)
Parameters
| Type | Name | Description | 
|---|---|---|
| CommandBuffer | cmd | |
| RTHandle | source | |
| Vector4 | scaleBias | |
| float | mipLevel | |
| bool | bilinear |