Creates a depth buffer of the specified width and height. This depth buffer can then be attached to a frame buffer using the rendering device's AttachDepthBuffer function.
int32 CreateDepthBuffer( int32 Width, int32 Height, int32 Index )
| Parameter Type | Parameter Name | Documentation |
|---|---|---|
| int32 | Width | The desired width of the depth buffer. |
| int32 | Height | The desired height of the depth buffer. |
| int32 | Index | Reserved. This value must be 0 at present. |
None published. Please look for an example in the Simdify Scripting Language code base.