Fixed getEnableDepthWrites() naming.
This commit is contained in:
parent
13a8e92043
commit
cb08e7544e
@ -39,20 +39,18 @@ public:
|
||||
|
||||
|
||||
void setColor(const osg::Vec4& color);
|
||||
|
||||
const osg::Vec4& getColor() const { return _color; }
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Turns off writing to the depth buffer when rendering text. This only affects text
|
||||
* with no backdrop or text using the DELAYED_DEPTH_WRITES implementation, since
|
||||
* the other backdrop implementations are really only useful for backwards
|
||||
* compatibility and are not worth updating to utilize this flag.
|
||||
*/
|
||||
bool setEnableDepthWrites() { return _enableDepthWrites; }
|
||||
|
||||
void setEnableDepthWrites(bool enable) { _enableDepthWrites = enable; }
|
||||
bool getEnableDepthWrites() const { return _enableDepthWrites; }
|
||||
|
||||
|
||||
enum BackdropType
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user