Luna::RHI::ResourceBarrierFlag::discard_content

discard_content = 0x02

Tells the device that the old content of the specified resource does not need to be preserved. The resource content is uninitialized after this barrier and should be overwritten in the following commands.

Specify this state may help preventing unnecessary availability operations and image layout transfer operations during the resource barrier, thus improve performance.