hello all, someone help me, how to Release LPDIRECT3DCUBETEXTURE9 texture memory? LPDIRECT3DCUBETEXTURE9* ABC .... .....D3DXCreateCubeTextureFromFile.... .... ABC->Release();
Perhaps the bmap_purge() function does the same/similar action. From the online documentation:
Quote
Releases texture memory used by the given bitmap. Useful for freeing the video memory when a certain panel won't be seen anymore. Video memory is automatically allocated again when the bitmap is seen the next time, so the instruction won't do any harm.
No, that doesn't work. Direct X functions can only be used via certain (material) events or by initializing your own D3DInstance. (Have a look to draw_begin or Gamestudio SDK ->Plugin SDK-> Using Direct3D functions).