/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Today's #ScreenshotSaturday features Face Your Fears from Turtle Roc ... #virtualrealityshop #mobilevr #vrshop https://t.co/3qhSNAVNOZ
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

reseting texture values

4: Adsense

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   

491
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?

#2 mhagain   Members   

12846
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   

491
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.