mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-12 18:53:53 +01:00
Fixing comments for E_ZWRITE_FINE_CONTROL.
(and considering replacing it and breaking binary serialization of SMaterial - having 2 flags for zwrite is simply too confusing). git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6023 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
c661373121
commit
fc37b383ed
@ -250,10 +250,10 @@ namespace video
|
|||||||
//! Fine-tuning for SMaterial.ZWriteFineControl
|
//! Fine-tuning for SMaterial.ZWriteFineControl
|
||||||
enum E_ZWRITE_FINE_CONTROL
|
enum E_ZWRITE_FINE_CONTROL
|
||||||
{
|
{
|
||||||
//! Default. Only write zbuffer when SMaterial::ZBuffer is true and SMaterial::isTransparent() returns false.
|
//! Default. Only write zbuffer when SMaterial::ZWriteEnable is true and SMaterial::isTransparent() returns false.
|
||||||
EZI_ONLY_NON_TRANSPARENT,
|
EZI_ONLY_NON_TRANSPARENT,
|
||||||
//! Writing will just be based on SMaterial::ZBuffer value, transparency is ignored.
|
//! Writing will just be based on SMaterial::ZWriteEnable value, transparency is ignored.
|
||||||
//! Needed mostly for certain shader materials as SMaterial::isTransparent will always return false for those.
|
//! Needed mostly for certain shader materials where SMaterial::isTransparent always returns false.
|
||||||
EZI_ZBUFFER_FLAG
|
EZI_ZBUFFER_FLAG
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user