Changeset 13041 for OpenSceneGraph/trunk/include/osg/ClearNode
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/ClearNode (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/ClearNode
r5328 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 31 31 { 32 32 public : 33 33 34 34 ClearNode(); 35 35 … … 38 38 _requiresClear(cs._requiresClear), 39 39 _clearColor(cs._clearColor), 40 _clearMask(cs._clearMask) {} 40 _clearMask(cs._clearMask) {} 41 41 42 42 … … 54 54 /** Returns the clear color. */ 55 55 inline const Vec4& getClearColor() const { return _clearColor; } 56 56 57 57 /** Set the clear mask used in glClear(..). 58 58 * Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. */ … … 63 63 64 64 protected : 65 65 66 66 virtual ~ClearNode() {} 67 67 68 68 bool _requiresClear; 69 69 Vec4 _clearColor;
