reseting texture values

Started by
1 comment, last by lomateron 11 years, 6 months ago
Is there any fast method that takes a texture an change all his pixels to an specified pixel value?
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.

Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls.

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

This topic is closed to new replies.

Advertisement