Luna::RHI::ResourceBarrierFlag

enum ResourceBarrierFlag : u8
{
    aliasing= 0x01
    discard_content= 0x02
}

Specifies additional flags for one buffer or texture barrier.

Options

  • aliasing

    Submits an aliasing barrier for this resource.

  • discard_content

    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.