 | gl.Clear Method |
Clear buffers to preset values.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void Clear(
gl.ClearBuffers buffers
)
Public Shared Sub Clear (
buffers As gl.ClearBuffers
)
public:
static void Clear(
gl.ClearBuffers buffers
)
static member Clear :
buffers : gl.ClearBuffers -> unit
Parameters
- buffers
- Type: Ooogles.gl.ClearBuffers
the buffers to be cleared.
Remarks
The value to which each buffer is cleared depends on the setting of the
clear value for that buffer,
as set by
ClearColor(Color4),
ClearStencil(Int32) and
ClearDepth(Single).
The pixel ownership test, the scissor test, dithering, and the buffer writemasks affect the operation of Clear.
The scissor box bounds the cleared region.
Blend function, stenciling, fragment shading, and depth-buffering are ignored by Clear.
OpenGL API: glClear
See Also