• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • LLVMShadeRunTask
  • LLVMShadeRunTask Class

    OPAL task that JIT-compiles a C shade function and renders it in the LLVM Sandbox. More...

    Header: #include <LLVMShadeRunTask>
    Inherits: OpalTask

    Detailed Description

    The LLM-driven build/fix loop is implicit: when the source supplied in the source parameter fails to compile, the task returns the Clang diagnostic in the result message. The conversation operator can then call the task again with corrected source. On a successful compile the active LLVMSandboxActivity is pushed onto the navigation stack, the editor is updated, and the parallel pixel render is triggered.

    See also LLVMSandboxActivity and construct::native::NativeCompiler.