Luna::RHI::ShaderVisibilityFlag

enum ShaderVisibilityFlag : u8
{
    vertex= 0x01
    pixel= 0x02
    compute= 0x04
    all= vertex | pixel | compute
}

Specifies which shader can access descriptors in the specified binding.

Options

  • vertex

    The vertex shader can access descriptors in the specified binding.

  • pixel

    The pixel shader can access descriptors in the specified binding.

  • compute

    The compute shader can access descriptors in the specified binding.

  • all

    All shaders can access descriptors in the specified binding.