Efficient pixel shader sum of all pixels

Posted by luvieere on Stack Overflow See other posts from Stack Overflow or by luvieere
Published on 2010-05-31T14:53:26Z Indexed on 2010/05/31 20:03 UTC
Read the original article Hit count: 514

Filed under:
|
|
|
|

How can I efficiently calculate the sum of all pixels in an image, by using a HSLS pixel shader? I'm interested in Pixel Shader 2.0, that I could invoke as a WPF shader effect.

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf