Hi.

I am wondering what the possibilities of Direct3d are concerning 2d. Is it possible to do the following:

A: :?: Load a texture from a stream or memory location??

B: :?: Reading an Writing pixels, from a texture or the whole screen(backbuffer).

C: :?: Using GDI functions like line/rectangle/ellipse, on Textures or the whole screen.

D: :?: Blitting Textures on Textures.

E: :?: Using multiple textures for a single polygon.
I mean that every vertex can contain a texture
and its coordinates, so that they are blended in
the middle of the polygon. (just like what is
done with colors, in those basic d3d tut's).

And... Is it worthwile to program some resource preparing routines. :razz:

For example, when a texture must be able to rotate in the game, is it worthwile to create a routine that copies the texture about 36 times and increase the angle for each of them with 10 degrees.
And when the texture must be drawn, just calculate the image index and draw the appropriate image.

Since Direct3d can transform objects very fast, i am not sure if this is neccesary. Can i gain some extra speed with this method??

Thanx in advance