• Advertisement
Sign in to follow this  

reseting texture values

This topic is 1978 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any fast method that takes a texture an change all his pixels to an specified pixel value?

Share this post


Link to post
Share on other sites
Advertisement
You could create a render target or unordered access view on the texture (make sure that you set the appropriate bind flags and usage when creating the texture itself), then clear that.

Share this post


Link to post
Share on other sites
oopts it was so logical, its one of the first things someone learns in directx, I just went full retard.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement