Luna::ShaderCompiler::ShaderType

enum ShaderType : u8
{
    vertex= 1
    pixel= 2
    compute= 3
}

Specifies the shader compile type.

Options

  • vertex

    Compiles the shader as vertex shader.

  • pixel

    Compiles the shader as pixel (fragment) shader.

  • compute

    Compiles the shader as compute shader.