Blitting a portion of a texture?

Started by
0 comments, last by Antz 24 years, 2 months ago
Anyone know of a way to blit a portion of a source texture using DrawPrimitive in D3D without using D3DXDrawSpriteSimple?
Advertisement
Well, the basic idea is that you want to draw a textured quad (thats what D3DX does behind the scenes). Basically, you just need to modify the vertex''s texture coordinates.

--TheGoop

This topic is closed to new replies.

Advertisement