Generates a render target z buffer
from the given bitmap
. This allows rendering into bitmaps that are bigger than the frame buffer of the application.
that determines the size of the z buffer.
- The LPDIRECT3DSURFACE9 pointer to the created z buffer is available through the render_zbuffer variable.
- The created z buffer is shared by all render targets, so give a bitmap that is as big as the largest render target.
- When this function is called again, the render target z buffer is automatically adapted to the new bitmap size.
view.bmap, d3d_antialias, render_zbuffer