Jump to content

  • Log In with Google      Sign In   
  • Create Account


reseting texture values


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 lomateron   Members   -  Reputation: 319

Like
0Likes
Like

Posted 21 September 2012 - 08:26 AM

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

Sponsor:

#2 mhagain   Crossbones+   -  Reputation: 7802

Like
0Likes
Like

Posted 21 September 2012 - 09:34 AM

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.

It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


#3 lomateron   Members   -  Reputation: 319

Like
0Likes
Like

Posted 21 September 2012 - 10:06 AM

oopts it was so logical, its one of the first things someone learns in directx, I just went full retard.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS