You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could consider having the clear color to be a part of the TextureDescriptor. Justification:
D3D12 specifically has this specified at resource creation and I vaguely recall this matching some of the specifics of AMD hardware (but need to investigate more to confirm this).
it's not a common thing to vary the clear color for a particular texture.
we could still provide an API for clearing with custom values, perhaps as a simple clearImage that is performed out of the pass, or clearAttachment within a pass.