Method BlitCubeToOctahedral2DQuadSingleChannel
BlitCubeToOctahedral2DQuadSingleChannel(CommandBuffer, Texture, Vector4, int)
Blit a cube texture into 2d texture as octahedral quad. (projection) Conversion between single and multi channel formats. RGB(A) to YYYY (luminance). R to RRRR. A to AAAA.
Declaration
public static void BlitCubeToOctahedral2DQuadSingleChannel(CommandBuffer cmd, Texture source, Vector4 scaleBiasRT, int mipLevelTex)
Parameters
| Type | Name | Description | 
|---|---|---|
| CommandBuffer | cmd | Command buffer used for rendering.  | 
    
| Texture | source | Source texture.  | 
    
| Vector4 | scaleBiasRT | Scale and bias for the output texture.  | 
    
| int | mipLevelTex | Mip level to blit.  |