GL.Clear 清除缓冲

static function Clear (clearDepth : bool, clearColor : bool, backgroundColor : Color) : void

Parameters参数

Description描述

Clear the current render buffer.

清除当前的缓冲区。

This clears the screen or the active RenderTexture you are drawing into. In most other situations, some camera is drawing something somewhere, and probably is clearing already with the background color of the skybox.

参见: GL.ClearWithSkybox.

Page last updated: 2011-3-22