Luna::RHI::ResourceDataCopyOp

enum ResourceDataCopyOp : u8
{
    read_buffer
    write_buffer
    read_texture
    write_texture
}

Specifies the type of one resource data copy operation.

Options

  • read_buffer

    Copy data of one buffer resource from resource memory to host memory.

  • write_buffer

    Copy data of one buffer resource from host memory to resource memory.

  • read_texture

    Copy data of one texture resource from resource memory to host memory.

  • write_texture

    Copy data of one texture resource from host memory to resource memory.