Skip to main content
GameDev.net gamedev.net
🔒 Locked

Help with Dynamic Textures

Started by mmakrzem Jan 30, 2006 at 7:39 AM 4 replies 400+ views
Original Post
mmakrzem
mmakrzem
I would like to be able to load a texture into memory and use it to render on a rectangle shape. During each frame I would like to be able to update the texture before I render it on the rectangle again. I've come across Dynamic Textures in the help but I'm not too sure how to do what I want. Does anyone know where I could find some good help on using dynamic textures. Maybe some sample code too. Oh, one other thing, which video cards support dynamic textures? which do not? thanks,
pcwlai
pcwlai
If you can, the best approach is to use UpdateTexture which upload the portions of texture you need to change before the draw call.
The poorest programmer in the game industry!!
mmakrzem
mmakrzem
Quote:
Original post by pcwlai
If you can, the best approach is to use UpdateTexture which upload the portions of texture you need to change before the draw call.


Do you know where I can find some sample code showing how to use UpdateTexture

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.