GL
- Begin
- ClearWithSkybox
- Clear
- Color
- End
- InvalidateState
- LINES
- LoadIdentity
- LoadOrtho
- LoadPixelMatrix
- LoadProjectionMatrix
- modelview
- MultiTexCoord2
- MultiTexCoord3
- MultiTexCoord
- MultMatrix
- PopMatrix
- PushMatrix
- QUADS
- SetRevertBackfacing
- TexCoord2
- TexCoord3
- TexCoord
- TRIANGLE_STRIP
- TRIANGLES
- Vertex3
- Vertex
- Viewport
GL.Clear 清除缓冲
static function Clear (clearDepth : bool, clearColor : bool, backgroundColor : Color) : void
Parameters参数
-
clearDepthShould the depth buffer be cleared?
是否清除深度缓冲区? -
clearColorShould the color buffer be cleared?
否清除颜色缓冲区? -
backgroundColorThe color to clear with, used only if clearColor is true.
用来清除背景色。第二个参数clearColor必须为真。
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.
最后修改:2011年3月22日 Tuesday 14:51