The None
field of the ClearFlags
enumeration represents a state where no buffers are cleared before rendering a scene. This is useful when you want to retain the contents of the render target from a previous frame or operation.
The None
field of the ClearFlags
enumeration represents a state where no buffers are cleared before rendering a scene. This is useful when you want to retain the contents of the render target from a previous frame or operation.
Use ClearFlags.None
when you do not want to clear any buffers before rendering. This can be useful in scenarios where you want to overlay new content on top of existing content without erasing it.
// Example of using ClearFlags.None SceneCamera camera = new SceneCamera(); camera.ClearFlags = ClearFlags.None; // This will render the scene without clearing any buffers camera.Render();