Lock 2 textures at the same time

Started by
1 comment, last by LOU SA 19 years, 12 months ago
Is it possible, that i can´t lock 2 textures at the same time? How can i compare two textures (especially the alpha channel)? Is it possible to draw the two alpha channels from the to textures into a new one, with something like AND?
Advertisement
IIRC, there is nothing against locking several seperate textures at the same time, for situations as you describe where you want to check data from them and/or copy it to a new texture.
Just remember to unlock them all when you''re done.

-Mezz
Yes you can lock multiple resources at the same time, all locking does is that it ensures that no other process will interfere with the locked resource for obvious reasons.
By the way if you are locking resources that are residing on the gfx hardware and you read from them, you will incur a big hit over the agp bus.

This topic is closed to new replies.

Advertisement