Luna::RHI::TextureStateFlag

enum TextureStateFlag : u32
{
    none= 0x00
    shader_read_vs= 0x01
    shader_read_ps= 0x02
    shader_write_ps= 0x04
    color_attachment_read= 0x08
    color_attachment_write= 0x10
    depth_stencil_attachment_read= 0x20
    depth_stencil_attachment_write= 0x40
    resolve_attachment= 0x80
    shader_read_cs= 0x0100
    shader_write_cs= 0x0200
    copy_dest= 0x0400
    copy_source= 0x0800
    present= 0x1000
    automatic= 0x80000000
    shader_read_write_ps= shader_read_ps | shader_write_ps
    shader_read_write_cs= shader_read_cs | shader_write_cs
}

Specifies texture resource states before and after one barrier.

Options