CopySurface(src, dest, left, right, top bottom)
Blitz3D Forums/Blitz3D Programming/CopySurface(src, dest, left, right, top bottom)| 
 | ||
| Can somebody tell me what this undocumented command is for? CopySurface(src, dest, left, right, top bottom) (or alike parameters). Seems it's not a mesh surface is it? | 
| 
 | ||
| Does not seem to be highlighted here.  Are you sure it is not a user library function? | 
| 
 | ||
| It is from Tom's dx7 library but I don't have any idea how CopySurface works. | 
| 
 | ||
| CopySurface is for rendering to a texture. I had a search and this is the relevant thread. render2texture & DDS CopySurface: http://www.blitzbasic.com/Community/posts.php?topic=62050 Also, another of Tom's dx7 extensions. Bump Mapping demo & source: http://www.blitzbasic.com/Community/posts.php?topic=62128 | 
| 
 | ||
| Ok, I see, thanks! | 
| 
 | ||
| I forgot all about this thing. Someone knock something up and post it - I'm far too busy playing Company of Heroes. |