Thnxz...
But i want it to work cause in the future i want to render some things to a texture (for interactive (camera) screen or for example)
[edit] :!:
My problem is: Iam unable to create a render target
[pascal]
if Succeeded( D3DXCreateTexture(FScreen.Device,
Width,
Height,
1,
D3DUSAGE_RENDERTARGET,
D3DFMT_A1R5G5B5,
D3DPOOL_MANAGED,
Textures[ Index ].Texture) ) then
[/pascal]
when i replace D3DUSAGE_RENDERTARGET with D3DX_DEFAULT its all OK but i can't render on it cause it's not a render target... please need help!!!
Bookmarks