Method ClearCubemap
ClearCubemap(CommandBuffer, RenderTexture, Color, bool)
Clear a cubemap render texture.
Declaration
public static void ClearCubemap(CommandBuffer cmd, RenderTexture renderTexture, Color clearColor, bool clearMips = false)
Parameters
| Type | Name | Description | 
|---|---|---|
| CommandBuffer | cmd | CommandBuffer used for rendering commands.  | 
    
| RenderTexture | renderTexture | Cubemap render texture that needs to be cleared.  | 
    
| Color | clearColor | Color used for clearing.  | 
    
| bool | clearMips | Set to true to clear the mip maps of the render texture.  |