Original Post
I am currently writing an object bitmap class for DirectX. I am considering two ways of doing this for an object with multiple frames (animated) that are contained on the same bitmap.
Option 1: I could create a surface for each frame and then just blt that surface everytime that i wanted to draw the frame.
Option 2: I could create only one surface for the entire bitmap and then use a different RECT value to blt only the section (frame) that i want to draw.
Which way is faster or better to use?
Also, should i use blt or bltFast? I hear that bltFast doesn''t clip, is this true?
- Thank you