Wiki > TV3D65 Index > TVScene
SetDepthBuffer
DESCRIPTION
Changes the way the depth buffer works, you can choose between Z buffer and W buffer. Z buffer is the default one and works on all cards, W buffer is more accurate and is less available on 3d cards.
DECLARATION
PARAMETERS
| NAME | OPTIONAL | DESCRIPTION |
| eDepthBuffer | No | Const TV_WBUFFER As MTV3D65.CONST_TV_DEPTHBUFFER = 2 |
| eDepthBuffer | No | Const TV_ZBUFFER As MTV3D65.CONST_TV_DEPTHBUFFER = 1 |
RETURN VALUE
| Null | Does not return a value. |
EXAMPLES
TIPS
- Please add any notes or tips for this method.
You can use W Buffer to resolve artifacts problem that occurs with big water planes for example.