Luna::RHI::ResourceBarrierFlag
enum ResourceBarrierFlag : u8
{
aliasing= 0x01
discard_content= 0x02
}
Specifies additional flags for one buffer or texture barrier.
Options
-
Submits an aliasing barrier for this resource.
-
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.