JimDiesel
Newcomer
Hi,
I'd like to create an off-screen Direct3D.Surface to load
some tiles into to transfer to the backbuffer.
Can I use the UpdateSurface method for this?
Example:
D3Device.UpdateSurface(D3DTileSurface, myRect,
BackBuffer, myPoint)
This doesn't work and throws an error.
I've set the BackBuffer to the .GetBackBuffer. Would
this be correct?
Basically, I want to be able to load a tileset from
a .bmp to a surface and then be able to blit it to the
screen to create a background. Is this possible?
Thanks in advance,
Jim
I'd like to create an off-screen Direct3D.Surface to load
some tiles into to transfer to the backbuffer.
Can I use the UpdateSurface method for this?
Example:
D3Device.UpdateSurface(D3DTileSurface, myRect,
BackBuffer, myPoint)
This doesn't work and throws an error.
I've set the BackBuffer to the .GetBackBuffer. Would
this be correct?
Basically, I want to be able to load a tileset from
a .bmp to a surface and then be able to blit it to the
screen to create a background. Is this possible?
Thanks in advance,
Jim