JimDiesel
New member
Hi,
Id 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 doesnt work and throws an error.
Ive 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
Id 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 doesnt work and throws an error.
Ive 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