Luna::RHI::StoreOp

enum StoreOp : u8
{
    dont_care= 0
    store= 1
}

The operation to perform when the render texture is written back to resource memory.

Options

  • dont_care

    The content of the attachment will be discarded and not stored back to the resource after ending the render pass. This is used for attachments like depth buffer that is only used for the current render pass.

  • store

    Stores the content of the attachment to the resource after ending the render pass.