Use a sprite and a texture.
References:
IDirect3DTexture9
ID3DXSprite
D3DXCreateTextureFromFile
D3DXCreateSprite
Code:sprite->Begin( D3DXSPRITE_ALPHABLEND /* See D3DXSPRITE */ ); sprite->draw( texture_ptr, [...] ); sprite->End();
Hi,
Lately I started with c++ directX9 stuff, and I've created an overlay for my cheat. Now, I want to add an image to the overlay but I have No clue how to add it. So, does anyone know how to show an image on the overlay?
Thanks
Use a sprite and a texture.
References:
IDirect3DTexture9
ID3DXSprite
D3DXCreateTextureFromFile
D3DXCreateSprite
Code:sprite->Begin( D3DXSPRITE_ALPHABLEND /* See D3DXSPRITE */ ); sprite->draw( texture_ptr, [...] ); sprite->End();
Last edited by Yemiez; 05-26-2016 at 04:07 PM.